mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Merge pull request #372 from ralexstokes/add-py36-compatibility
Add py36 compatibility
This commit is contained in:
@ -149,7 +149,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
|
||||
|
||||
Reference in New Issue
Block a user