fixed unknown reference "_is_info_hash_new"
This commit is contained in:
parent
b3e77e60b6
commit
affb500623
@ -222,7 +222,7 @@ class SybilNode(asyncio.DatagramProtocol):
|
|||||||
else:
|
else:
|
||||||
peer_addr = (addr[0], port)
|
peer_addr = (addr[0], port)
|
||||||
|
|
||||||
if not self._is_info_hash_new(info_hash):
|
if not self.__database.is_infohash_new(info_hash):
|
||||||
return
|
return
|
||||||
|
|
||||||
event_loop = asyncio.get_event_loop()
|
event_loop = asyncio.get_event_loop()
|
||||||
|
Loading…
Reference in New Issue
Block a user