diff --git a/lbrynet/dht/routingtable.py b/lbrynet/dht/routingtable.py index 0b20fa621..9e0d0cb49 100644 --- a/lbrynet/dht/routingtable.py +++ b/lbrynet/dht/routingtable.py @@ -43,7 +43,8 @@ class TreeRoutingTable(object): self._parentNodeID = parentNodeID self._buckets = [kbucket.KBucket(rangeMin=0, rangeMax=2 ** constants.key_bits, node_id=self._parentNodeID)] if not getTime: - from time import time as getTime + from twisted.internet import reactor + getTime = reactor.seconds self._getTime = getTime def addContact(self, contact):