From 70c5c84f32184a248599e021074b5ae0a8a217ad Mon Sep 17 00:00:00 2001 From: Kevin Mai-Husan Chia Date: Sun, 28 Jul 2019 16:09:01 +0800 Subject: [PATCH] Update libp2p/pubsub/floodsub.py Co-Authored-By: NIC Lin --- libp2p/pubsub/floodsub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/pubsub/floodsub.py b/libp2p/pubsub/floodsub.py index 0b26f38..60e77f0 100644 --- a/libp2p/pubsub/floodsub.py +++ b/libp2p/pubsub/floodsub.py @@ -103,7 +103,7 @@ class FloodSub(IPubsubRouter): """ Get the eligible peers to send the data to. :param src: peer ID of the peer who forwards the message to us - :param origin: the peer id of the peer who originally broadcast the message. + :param origin: peer id of the peer the message originate from :return: a generator of the peer ids who we send data to. """ for topic in topic_ids: