mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Fix the tests according to pubsub.Publish
And refactored a bit.
This commit is contained in:
@ -91,6 +91,7 @@ class GossipSub(IPubsubRouter):
|
||||
:param rpc: rpc message
|
||||
"""
|
||||
control_message = rpc.control
|
||||
sender_peer_id = str(sender_peer_id)
|
||||
|
||||
# Relay each rpc control to the appropriate handler
|
||||
if control_message.ihave:
|
||||
|
||||
Reference in New Issue
Block a user