mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
lnworker.add_peer: fix #6274
This commit is contained in:
parent
01202ed3eb
commit
ce726f69aa
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue