Convert the `handle_chan_restoration_locked` macro to a function
authorMatt Corallo <git@bluematt.me>
Thu, 17 Nov 2022 17:52:31 +0000 (17:52 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 17 Nov 2022 17:57:17 +0000 (17:57 +0000)
commitf1c6cd8b3e8172aa47104e4619322b9b86122bae
tree1f68a458ee73d2a06994e185856e4ac5deaf5e7e
parent7e9b88a5cd008c34221bc3eb5084511bd894cc3d
Convert the `handle_chan_restoration_locked` macro to a function

There is no reason anymore for `handle_chan_restoration_locked` to
be a macro, and our long-term desire is to move away from macros as
they substantially bloat our compilation time (and binary size).
Thus, we simply remove `handle_chan_restoration_locked` here and
turn it into a function.
lightning/src/ln/channelmanager.rs