]> git.bitcoin.ninja Git - rust-lightning/commit
Add counterparty_node_id & channel_capacity to ChannelClosed
authorVladimir Fomene <vladimirfomene@gmail.com>
Fri, 30 Jun 2023 10:03:26 +0000 (13:03 +0300)
committerVladimir Fomene <vladimirfomene@gmail.com>
Tue, 8 Aug 2023 10:58:40 +0000 (13:58 +0300)
commitbd6323e94b88f9f6c9f030a484f5b5e145d61c5b
tree974708c763a36a150e26b55feea87e2c83efea88
parent6f580725856674fa2b4126f582b5c30a8483c8ba
Add counterparty_node_id & channel_capacity to ChannelClosed

The current ChannelClosed event does not let
you know the counterparty during a channel close
event. This change adds the counterparty_node_id
and the channel_capacity to the ChannelClosed event.
This helps users to have more context during a
channel close event. Solves #2343
lightning/src/events/mod.rs
lightning/src/ln/channelmanager.rs