Remove the `post_handle_chan_restoration` macro 2022-11-rm-redundant-holding-cell-wipe
authorMatt Corallo <git@bluematt.me>
Mon, 21 Nov 2022 18:43:48 +0000 (18:43 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 21 Nov 2022 18:43:48 +0000 (18:43 +0000)
commite82cfa7d8438eb5a02f4e41f29b2f647f9fdcac6
treea3806db10470f6f23b974ec20c11c57751a8710c
parentf1c6cd8b3e8172aa47104e4619322b9b86122bae
Remove the `post_handle_chan_restoration` macro

Now that `handle_channel_resumption` can't fail, the error handling
in `post_handle_chan_restoration` is now dead code. Removing it
makes `post_handle_chan_restoration` only a single block, so here
we simply remove the macro and inline the single block into the two
places the macro was used.
lightning/src/ln/channelmanager.rs