fix bug on dandelion specific with Python3
This commit is contained in:
parent
1ec1b57190
commit
c59b9e6df1
|
@ -190,8 +190,8 @@ class Dandelion: # pylint: disable=old-style-class
|
||||||
).outboundConnections.values()), MAX_STEMS)
|
).outboundConnections.values()), MAX_STEMS)
|
||||||
# not enough stems available
|
# not enough stems available
|
||||||
except ValueError:
|
except ValueError:
|
||||||
self.stem = network.connectionpool.BMConnectionPool(
|
self.stem = list(network.connectionpool.BMConnectionPool(
|
||||||
).outboundConnections.values()
|
).outboundConnections.values())
|
||||||
self.nodeMap = {}
|
self.nodeMap = {}
|
||||||
# hashMap stays to cater for pending stems
|
# hashMap stays to cater for pending stems
|
||||||
self.refresh = time() + REASSIGN_INTERVAL
|
self.refresh = time() + REASSIGN_INTERVAL
|
||||||
|
|
Reference in New Issue
Block a user