mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 15:10:54 +00:00
removed redudant check in seen seqnos and peers and added test cases of handle iwant and handle ihave
This commit is contained in:
@ -787,7 +787,6 @@ class GossipSub(IPubsubRouter, Service):
|
||||
parse_message_id_safe(msg_id)
|
||||
for msg_id in ihave_msg.messageIDs
|
||||
if msg_id not in seen_seqnos_and_peers
|
||||
if msg_id not in str(seen_seqnos_and_peers)
|
||||
]
|
||||
|
||||
# Request messages with IWANT message
|
||||
|
||||
Reference in New Issue
Block a user