]> git.bitcoin.ninja Git - rust-lightning/commit
Make `Channel::revoke_and_ack`'s return tuple a struct
authorMatt Corallo <git@bluematt.me>
Sat, 2 Oct 2021 01:59:38 +0000 (01:59 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 22 Oct 2021 18:41:42 +0000 (18:41 +0000)
commitc54d4703f5352af78e072612680ad6caa212abb2
treeadd79d23bda215ed2c366df6f182f2a2e842a05b
parent107c6c793980b44aff9d1ebed226ae8141378e5c
Make `Channel::revoke_and_ack`'s return tuple a struct

This substantially improves readability at the callsite and in the
function.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs