|
@ -66,8 +66,11 @@ class ChannelsList(MyTreeView): |
|
|
labels[subject] = label |
|
|
labels[subject] = label |
|
|
status = self.lnworker.get_channel_status(chan) |
|
|
status = self.lnworker.get_channel_status(chan) |
|
|
closed = chan.is_closed() |
|
|
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.lnworker.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 '' |
|
|
|
|
|
else: |
|
|
|
|
|
node_alias = '' |
|
|
return [ |
|
|
return [ |
|
|
format_short_channel_id(chan.short_channel_id), |
|
|
format_short_channel_id(chan.short_channel_id), |
|
|
bh2u(chan.node_id), |
|
|
bh2u(chan.node_id), |
|
|