tlnworker.add_peer: fix #6274 - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit ce726f69aa6c5b8212ecbda0399dc0eed0985b24 (DIR) parent 01202ed3eb45df407d6ed2a1979fb78098928bdd (HTM) Author: SomberNight <somber.night@protonmail.com> Date: Thu, 25 Jun 2020 18:53:14 +0200 lnworker.add_peer: fix #6274 Diffstat: M electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/electrum/lnworker.py b/electrum/lnworker.py t@@ -412,7 +412,7 @@ class LNWorker(Logger, NetworkRetryManager[LNPeerAddr]): addrs = self.channel_db.get_node_addresses(node_id) if not addrs: raise ConnStringFormatError(_('Don\'t know any addresses for node:') + ' ' + bh2u(node_id)) - host, port, timestamp = self.choose_preferred_address(addrs) + host, port, timestamp = self.choose_preferred_address(list(addrs)) port = int(port) # Try DNS-resolving the host (if needed). This is simply so that # the caller gets a nice exception if it cannot be resolved.