Reflect PR feedback

This commit is contained in:
mhchia
2019-07-28 18:06:38 +08:00
parent 70c5c84f32
commit 74d831d4e2
2 changed files with 33 additions and 32 deletions

View File

@ -102,8 +102,8 @@ class FloodSub(IPubsubRouter):
origin: ID) -> Iterable[ID]:
"""
Get the eligible peers to send the data to.
:param src: peer ID of the peer who forwards the message to us
:param origin: peer id of the peer the message originate from
:param src: peer ID of the peer who forwards the message to us.
: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: