]> git.bitcoin.ninja Git - rust-lightning/commit
Return struct, not long tuple, from `Channel::channel_reestablish`
authorMatt Corallo <git@bluematt.me>
Sat, 13 Nov 2021 22:47:42 +0000 (22:47 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Jan 2022 18:20:26 +0000 (18:20 +0000)
commita6ddb973ea8ac173c700435e57a897bafc420fbb
tree3dab3fea613a5cd76555701bd739044c3e7065d5
parentd62edd58abfca1929fc3e67eaef0b40ed66fe617
Return struct, not long tuple, from `Channel::channel_reestablish`

This improves readability and makes it easier to add additional
return fields.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs