]> git.bitcoin.ninja Git - rust-lightning/commit
Make the result of Channel::force_shutdown a struct, not a tuple
authorMatt Corallo <git@bluematt.me>
Sat, 8 May 2021 20:20:24 +0000 (20:20 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 8 May 2021 20:20:24 +0000 (20:20 +0000)
commitedbbe135a89ed4ab4e2ac7387e72cdcc444eee94
tree6a54d83db80ffa24f6af0e8bbd2c45c20f8d2d2f
parent7297e138716ec34147e591e125a96aa8a2cb2903
Make the result of Channel::force_shutdown a struct, not a tuple

In the next commit we will add a second field of identical type
(but different semantics) to the result, so really need the values
to be named.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs