]> git.bitcoin.ninja Git - rust-lightning/commit
Simplify cases in `handle_new_monitor_update` macro
authorMatt Corallo <git@bluematt.me>
Sun, 18 Jun 2023 23:56:16 +0000 (23:56 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Jun 2023 22:37:50 +0000 (22:37 +0000)
commit1c7b6925a2c3e078228091fd692bee72c75ddcd8
tree0e7c22c310e330669e5ab47452f7c86fff315cb3
parent5e528ff6bb141ea1044114128406b6a6b194c4b1
Simplify cases in `handle_new_monitor_update` macro

By giving up on a tiny bit of parallelism and tweaking the return
types, we can make the `handle_new_monitor_update` macro a bit
clearer - now the only cases where its called after a monitor was
updated was when the monitor was initially committed.
lightning/src/ln/channelmanager.rs