fix mcache logic check in gossipsub
This commit is contained in:
parent
b4738d723c
commit
e1648d4404
|
@ -615,7 +615,7 @@ proc getGossipPeers(g: GossipSub): Table[PubSubPeer, ControlMessage] {.gcsafe.}
|
|||
continue
|
||||
|
||||
let mids = g.mcache.window(topic)
|
||||
if not mids.len > 0:
|
||||
if not(mids.len > 0):
|
||||
continue
|
||||
|
||||
var midsSeq = toSeq(mids)
|
||||
|
|
Loading…
Reference in New Issue