diff --git a/lib/network.py b/lib/network.py index 53874718a..08a366a34 100644 --- a/lib/network.py +++ b/lib/network.py @@ -1020,7 +1020,7 @@ class Network(util.DaemonThread): def get_blockchains(self): out = {} for k, b in self.blockchains.items(): - r = list(filter(lambda i: i.blockchain==b, self.interfaces.values())) + r = list(filter(lambda i: i.blockchain==b, list(self.interfaces.values()))) if r: out[k] = r return out