From 40a51cc09019b46d7ca9f2a457e95e6986e1db8a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 5 Jun 2020 15:17:16 +0200 Subject: [PATCH] channels_list: minor fix (lnworker might be None) --- electrum/gui/qt/channels_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/channels_list.py b/electrum/gui/qt/channels_list.py index 71706944d..6a98d3f6e 100644 --- a/electrum/gui/qt/channels_list.py +++ b/electrum/gui/qt/channels_list.py @@ -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 = ''