This commit is contained in:
ThomasV 2017-10-13 13:47:32 +02:00
parent beffd3c006
commit 3b8c8c712d

View file

@ -1020,7 +1020,7 @@ class Network(util.DaemonThread):
def get_blockchains(self): def get_blockchains(self):
out = {} out = {}
for k, b in self.blockchains.items(): 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: if r:
out[k] = r out[k] = r
return out return out