Skip to content

Commit

Permalink
Merge pull request #460 from ava-labs/tracked_subnets_fix
Browse files Browse the repository at this point in the history
Tracked subnets fix
  • Loading branch information
iansuvak authored Aug 27, 2024
2 parents 8921077 + 9068345 commit 60116f5
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 60116f5

Please sign in to comment.