From ba8ccfc4887b25c087b196706a271e807550f482 Mon Sep 17 00:00:00 2001 From: Kashiko Koibumi Date: Fri, 31 May 2024 13:17:17 +0900 Subject: [PATCH] fix bug on dandelion specific with Python3 --- src/network/dandelion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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