]> 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>
Tue, 21 Dec 2021 00:16:55 +0000 (00:16 +0000)
commitf4e1e586fb6dab4e1a38628b7650640066d47a7d
tree9b7505e830289ebf9e7b70ede7e13089ddbface5
parent92f49603374730b1adf7ea27d17bc68bb466b0cd
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