Browse Source

channels_list: display node_id if node_alias is not available

patch-4
ThomasV 4 years ago
parent
commit
95203b0a55
  1. 2
      electrum/gui/qt/channels_list.py

2
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 [

Loading…
Cancel
Save