mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix type: list
This commit is contained in:
parent
94fe28b576
commit
6b90d501ab
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue