mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 13:34:26 +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
|
continue
|
||||||
|
|
||||||
let mids = g.mcache.window(topic)
|
let mids = g.mcache.window(topic)
|
||||||
if not mids.len > 0:
|
if not(mids.len > 0):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
var midsSeq = toSeq(mids)
|
var midsSeq = toSeq(mids)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user