Browse Source

fix type: list

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
6b90d501ab
  1. 2
      electrum/lnworker.py

2
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

Loading…
Cancel
Save