|
@ -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 |
|
|