Skip to content

Commit

Permalink
don't set constants.PrimaryNetworkID as a trackedsubnet
Browse files Browse the repository at this point in the history
  • Loading branch information
iansuvak committed Aug 26, 2024
1 parent 8921077 commit 9068345
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions relayer/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 9068345

Please sign in to comment.