From 95203b0a55a6ee2458999564bb573529d670795b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 18 Dec 2020 14:51:33 +0100 Subject: [PATCH] channels_list: display node_id if node_alias is not available --- 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 3f7e96469..34507db0e 100644 --- a/electrum/gui/qt/channels_list.py +++ b/electrum/gui/qt/channels_list.py @@ -81,7 +81,7 @@ class ChannelsList(MyTreeView): closed = chan.is_closed() if self.network and self.network.has_channel_db(): 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 '' + node_alias = (node_info.alias if node_info else '') or chan.node_id.hex() else: node_alias = '' return [