File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1737,6 +1737,7 @@ async def list_channels(self, wallet: Abstract_Wallet = None):
17371737 'short_channel_id' : format_short_channel_id (chan .short_channel_id ) if chan .short_channel_id else None ,
17381738 'channel_id' : chan .channel_id .hex (),
17391739 'channel_point' : chan .funding_outpoint .to_str (),
1740+ 'closing_txid' : chan .get_closing_height ()[0 ] if chan .get_closing_height () else None ,
17401741 'state' : chan .get_state ().name ,
17411742 'peer_state' : chan .peer_state .name ,
17421743 'remote_pubkey' : chan .node_id .hex (),
@@ -1755,6 +1756,7 @@ async def list_channels(self, wallet: Abstract_Wallet = None):
17551756 'short_channel_id' : format_short_channel_id (chan .short_channel_id ) if chan .short_channel_id else None ,
17561757 'channel_id' : chan .channel_id .hex (),
17571758 'channel_point' : chan .funding_outpoint .to_str (),
1759+ 'closing_txid' : chan .get_closing_height ()[0 ] if chan .get_closing_height () else None ,
17581760 'state' : chan .get_state ().name ,
17591761 } for channel_id , chan in backups
17601762 ]
You can’t perform that action at this time.
0 commit comments