From a675da52ee4063dd659edd36d0c3ce665f219625 Mon Sep 17 00:00:00 2001 From: NIC Lin Date: Sat, 7 Dec 2019 15:46:42 +0800 Subject: [PATCH] Update libp2p/pubsub/gossipsub.py Co-Authored-By: Kevin Mai-Husan Chia --- libp2p/pubsub/gossipsub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/pubsub/gossipsub.py b/libp2p/pubsub/gossipsub.py index b8b0e62..045ef39 100644 --- a/libp2p/pubsub/gossipsub.py +++ b/libp2p/pubsub/gossipsub.py @@ -235,7 +235,7 @@ class GossipSub(IPubsubRouter): gossipsub_peers = self.mesh[topic] else: # When we publish to a topic that we have not subscribe to, we randomly pick - # `self.degree` number of peers who have subscribe to the topic and add them + # `self.degree` number of peers who have subscribed to the topic and add them # as our `fanout` peers. topic_in_fanout: bool = topic in self.fanout fanout_peers: List[ID] = self.fanout[topic] if topic_in_fanout else []