From 90683455fe887281cba8c8678c327bc16f7ddecc Mon Sep 17 00:00:00 2001 From: Ian Suvak Date: Mon, 26 Aug 2024 17:29:10 -0400 Subject: [PATCH] don't set constants.PrimaryNetworkID as a trackedsubnet --- relayer/main/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/relayer/main/main.go b/relayer/main/main.go index 5340bba2..358561c7 100644 --- a/relayer/main/main.go +++ b/relayer/main/main.go @@ -143,6 +143,9 @@ func main() { // TODO: remove this from here once trackedSubnets are no longer referenced // by ping messages in avalanchego for _, sourceBlockchain := range cfg.SourceBlockchains { + if sourceBlockchain.GetSubnetID() == constants.PrimaryNetworkID { + continue + } trackedSubnets.Add(sourceBlockchain.GetSubnetID()) }