diff --git a/src/network/dandelion.py b/src/network/dandelion.py index e343d5f2..cbc6729b 100644 --- a/src/network/dandelion.py +++ b/src/network/dandelion.py @@ -190,8 +190,8 @@ class Dandelion: # pylint: disable=old-style-class ).outboundConnections.values()), MAX_STEMS) # not enough stems available except ValueError: - self.stem = network.connectionpool.BMConnectionPool( - ).outboundConnections.values() + self.stem = list(network.connectionpool.BMConnectionPool( + ).outboundConnections.values()) self.nodeMap = {} # hashMap stays to cater for pending stems self.refresh = time() + REASSIGN_INTERVAL