Move most `handle_new_monitor_update` calls to pass the update
authorMatt Corallo <git@bluematt.me>
Sun, 18 Jun 2023 21:55:30 +0000 (21:55 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Jun 2023 22:37:50 +0000 (22:37 +0000)
commitc843f68d5b3361b47b60bdf5dd4dbdbe06e6fdeb
treeeb86408e43be15386c1e604a6c11c2d9d2cc93da
parent1433e9ee7bdbedd76f04d2ec79f5afc6a70674da
Move most `handle_new_monitor_update` calls to pass the update

Most of the calls to the `handle_new_monitor_update` macro had the
exact same pattern - calling `update_monitor` followed by the
macro. Given that common pattern will grow to first pushing the
new monitor onto an in-flight set and then calling `update_monitor`
unifying the pattern into a single macro now avoids more code churn
in the coming commits.
lightning/src/ln/channelmanager.rs