rust-lightning/lightning
Matt Corallo e9452c701b Consistently clean up when failing in internal_funding_created
When we fail to accept a counterparty's funding for various
reasons, we should ensure we call the correct cleanup methods in
`internal_funding_created` to remove the temporary data for the
channel in our various internal structs (primarily the SCID alias
map).

This adds the missing cleanup, using `convert_chan_phase_err`
consistently in all the error paths.

This also ensures we get a `ChannelClosed` event when relevant.
2023-12-15 21:08:14 +00:00
..
src Consistently clean up when failing in internal_funding_created 2023-12-15 21:08:14 +00:00
Cargo.toml Bump MSRV to rustc 1.63.0 and edition to 2021 2023-12-08 14:03:45 +01:00