We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c2d50 commit d64f9e1Copy full SHA for d64f9e1
libp2p/pubsub/gossipsub.py
@@ -308,7 +308,8 @@ def _get_peers_to_send(
308
floodsub_peers: set[ID] = {
309
peer_id
310
for peer_id in self.pubsub.peer_topics[topic]
311
- if peer_id in self.peer_protocol and self.peer_protocol[peer_id] == floodsub.PROTOCOL_ID
+ if peer_id in self.peer_protocol
312
+ and self.peer_protocol[peer_id] == floodsub.PROTOCOL_ID
313
}
314
send_to.update(floodsub_peers)
315
0 commit comments