mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
removed commented out code
This commit is contained in:
@ -65,7 +65,6 @@ class KademliaProtocol(RPCProtocol):
|
|||||||
int(nodeid.hex(), 16))
|
int(nodeid.hex(), 16))
|
||||||
source = create_kad_peerinfo(nodeid, sender[0], sender[1])
|
source = create_kad_peerinfo(nodeid, sender[0], sender[1])
|
||||||
|
|
||||||
# source = Node(nodeid, sender[0], sender[1])
|
|
||||||
self.welcome_if_new(source)
|
self.welcome_if_new(source)
|
||||||
node = create_kad_peerinfo(key)
|
node = create_kad_peerinfo(key)
|
||||||
neighbors = self.router.find_neighbors(node, exclude=source)
|
neighbors = self.router.find_neighbors(node, exclude=source)
|
||||||
|
|||||||
Reference in New Issue
Block a user