mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 05:26:02 +00:00
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…
x
Reference in New Issue
Block a user