fixed unknown reference "_is_info_hash_new"

This commit is contained in:
Bora M. Alper 2017-07-05 09:50:56 +03:00
parent b3e77e60b6
commit affb500623

View File

@ -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()