]> git.bitcoin.ninja Git - rust-lightning/commit
Use return struct in monitor_updating_restored+channel_reestablish
authorMatt Corallo <git@bluematt.me>
Sun, 21 Feb 2021 02:00:18 +0000 (21:00 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 1 Mar 2021 02:03:18 +0000 (21:03 -0500)
commite7a490888ad2cb8608d0188dfd9e64ff409c79c8
tree2c8aedbdaba9a390d67877c5b00aa2eaf1b377e1
parent6e865ea15d9d176d48df2838eba8b24e1be35765
Use return struct in monitor_updating_restored+channel_reestablish

As pointed out by Jeff, using a return struct instead of an
incredibly-long tuple improves readability in several places.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs