fix comparison logic for bootstrap peers
This commit is contained in:
parent
667fb17b43
commit
9570ebfe0a
@ -61,7 +61,7 @@ func GossipSub(pubsubOptions ...PubsubOpt) interface{} {
|
|||||||
// we don't do that in the bootstrappers themselves to avoid creating a closed mesh
|
// 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)
|
// between them (however we might want to consider doing just that)
|
||||||
_, ok := bootstrappers[p]
|
_, ok := bootstrappers[p]
|
||||||
if ok && isBootstrapNode {
|
if ok && !isBootstrapNode {
|
||||||
return 2500
|
return 2500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user