mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
channels_list: minor fix (lnworker might be None)
This commit is contained in:
parent
d9747a2ff1
commit
40a51cc090
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class ChannelsList(MyTreeView):
|
|||
status = chan.get_state_for_GUI()
|
||||
closed = chan.is_closed()
|
||||
if self.parent.network.is_lightning_running():
|
||||
node_info = self.lnworker.channel_db.get_node_info_for_node_id(chan.node_id)
|
||||
node_info = self.parent.network.channel_db.get_node_info_for_node_id(chan.node_id)
|
||||
node_alias = (node_info.alias if node_info else '') or ''
|
||||
else:
|
||||
node_alias = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue