commit 95203b0a55a6ee2458999564bb573529d670795b
parent 89ecc85c64fc3e410741daa71d946d43dbc970ec
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 18 Dec 2020 14:51:33 +0100
channels_list: display node_id if node_alias is not available
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 [