rust-lightning/lightning
Matt Corallo 5ba4c079bb Immediately error in close_channel_internal if there is no chan
Previously, unfunded channels would be stored outside of
`PeerState::channel_by_id`, and thus if there is no channel when
we look in `PeerState::channel_by_id`, `close_channel_internal`
called `force_close_channel_with_peer` to hunt for unfunded
channels.

However, that is no longer the case, so the call is redundant, and
we can simply return an error instead.
2023-12-08 02:26:00 +00:00
..
src Immediately error in close_channel_internal if there is no chan 2023-12-08 02:26:00 +00:00
Cargo.toml Bump rust-bitcoin to v0.30.2 2023-11-22 15:58:01 -08:00