From 9570ebfe0a4019458752017818c9ef4f14c4269d Mon Sep 17 00:00:00 2001 From: vyzo Date: Wed, 29 Apr 2020 18:56:58 +0300 Subject: [PATCH] fix comparison logic for bootstrap peers --- node/modules/lp2p/pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/modules/lp2p/pubsub.go b/node/modules/lp2p/pubsub.go index 47d3ffd00..63d61219e 100644 --- a/node/modules/lp2p/pubsub.go +++ b/node/modules/lp2p/pubsub.go @@ -61,7 +61,7 @@ func GossipSub(pubsubOptions ...PubsubOpt) interface{} { // we don't do that in the bootstrappers themselves to avoid creating a closed mesh // between them (however we might want to consider doing just that) _, ok := bootstrappers[p] - if ok && isBootstrapNode { + if ok && !isBootstrapNode { return 2500 }