mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Merge branch 'main' into enhancement/yamuxstream-lock
This commit is contained in:
@ -308,7 +308,8 @@ class GossipSub(IPubsubRouter, Service):
|
||||
floodsub_peers: set[ID] = {
|
||||
peer_id
|
||||
for peer_id in self.pubsub.peer_topics[topic]
|
||||
if self.peer_protocol[peer_id] == floodsub.PROTOCOL_ID
|
||||
if peer_id in self.peer_protocol
|
||||
and self.peer_protocol[peer_id] == floodsub.PROTOCOL_ID
|
||||
}
|
||||
send_to.update(floodsub_peers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user