commit 6b90d501abb97bfae6ea86a3815b0f2e0c2dac4f
parent 94fe28b57684d85a3f72f39ab6d16ef7b9a03b99
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Jul 2019 08:15:41 +0200
fix type: list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -173,7 +173,7 @@ class LNWorker(Logger):
addrs = self.channel_db.get_node_addresses(node_id)
if not addrs:
continue
- host, port, timestamp = self.choose_preferred_address(addrs)
+ host, port, timestamp = self.choose_preferred_address(list(addrs))
peer = LNPeerAddr(host, port, node_id)
if peer in self._last_tried_peer:
continue