]> git.bitcoin.ninja Git - rust-lightning/commit
Expose `channel_type` in `Event::ChannelPending`
authorElias Rohrer <dev@tnull.de>
Mon, 5 Feb 2024 13:32:33 +0000 (14:32 +0100)
committerElias Rohrer <dev@tnull.de>
Mon, 5 Feb 2024 13:32:33 +0000 (14:32 +0100)
commit2e61d920449e9bd898049581ec00c9ec90b6bd95
tree93df3a038df2aeaa2bada579715690a6ff1d1661
parent7c9463668a4f71663746e57bdb09ee6b91797d5a
Expose `channel_type` in `Event::ChannelPending`

It is useful to immediately know what kind of channel is being opened,
and not having to wait until `ChannelReady`.
lightning/src/events/mod.rs
lightning/src/ln/channelmanager.rs