From 6b90d501abb97bfae6ea86a3815b0f2e0c2dac4f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 3 Jul 2019 08:15:41 +0200 Subject: [PATCH] fix type: list --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index da6f0583c..58c25b37c 100644 --- 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