Clean up the `handle_monitor_err!()` macro argument forms somewhat
authorMatt Corallo <git@bluematt.me>
Tue, 1 Feb 2022 23:42:05 +0000 (23:42 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 9 Mar 2022 19:14:38 +0000 (19:14 +0000)
commita274261c59d5e4fb30b2ed4e49b59830ecb89bb3
tree273c1bf2d40729e4078ccea6f1eba6163850edb0
parent09f8abad9377b1fa66fff523b5612f357b38c1ff
Clean up the `handle_monitor_err!()` macro argument forms somewhat

`handle_monitor_err!()` has a number of different forms depending
on which messages and actions were outstanding when the monitor
updating first failed. Instead of matching by argument count, its
much more readable to put an explicit string in the arguments to
make it easy to scan for the called form.
lightning/src/ln/channelmanager.rs