Update libp2p/pubsub/floodsub.py
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
parent
a1e20caebe
commit
70c5c84f32
|
@ -103,7 +103,7 @@ class FloodSub(IPubsubRouter):
|
||||||
"""
|
"""
|
||||||
Get the eligible peers to send the data to.
|
Get the eligible peers to send the data to.
|
||||||
:param src: peer ID of the peer who forwards the message to us
|
: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.
|
:return: a generator of the peer ids who we send data to.
|
||||||
"""
|
"""
|
||||||
for topic in topic_ids:
|
for topic in topic_ids:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user