From affb500623e023962aaebb70e61236d5447f3adc Mon Sep 17 00:00:00 2001 From: "Bora M. Alper" Date: Wed, 5 Jul 2017 09:50:56 +0300 Subject: [PATCH] fixed unknown reference "_is_info_hash_new" --- magneticod/magneticod/dht.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magneticod/magneticod/dht.py b/magneticod/magneticod/dht.py index 452a9b8..9491088 100644 --- a/magneticod/magneticod/dht.py +++ b/magneticod/magneticod/dht.py @@ -222,7 +222,7 @@ class SybilNode(asyncio.DatagramProtocol): else: peer_addr = (addr[0], port) - if not self._is_info_hash_new(info_hash): + if not self.__database.is_infohash_new(info_hash): return event_loop = asyncio.get_event_loop()