mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 23:20:55 +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] = {
|
floodsub_peers: set[ID] = {
|
||||||
peer_id
|
peer_id
|
||||||
for peer_id in self.pubsub.peer_topics[topic]
|
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)
|
send_to.update(floodsub_peers)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user