fix comparison logic for bootstrap peers

This commit is contained in:
vyzo 2020-04-29 18:56:58 +03:00
parent 667fb17b43
commit 9570ebfe0a

View File

@ -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
}