rust-lightning/lightning
Matt Corallo ba6eee24e4 Change ShutdownResult type to better capture the possibilites
The return value from Channel::force_shutdown previously always
returned a `ChannelMonitorUpdate`, but expected it to only be
applied in the case that it *also* returned a Some for the funding
transaction output.

This is confusing, instead we move the `ChannelMontiorUpdate`
inside the Option, making it hold a tuple instead.
2021-03-02 20:40:29 -05:00
..
src Change ShutdownResult type to better capture the possibilites 2021-03-02 20:40:29 -05:00
Cargo.toml Update rust-bitcoin 2021-02-26 15:15:18 -05:00