Fixes to add python 3.6 compatibility

This commit is contained in:
Alex Stokes
2019-12-02 15:57:22 -08:00
parent dfdcf524b7
commit 63fd531ed0
9 changed files with 54 additions and 53 deletions

View File

@ -150,7 +150,7 @@ class Pubsub:
# Map of topic to topic validator
self.topic_validators = {}
self.counter = time.time_ns()
self.counter = int(time.time())
self._tasks = []
# Call handle peer to keep waiting for updates to peer queue