Always persist the `ChannelManager` on a failed ChannelUpdate
authorMatt Corallo <git@bluematt.me>
Thu, 24 Aug 2023 19:57:45 +0000 (19:57 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 12 Sep 2023 19:06:34 +0000 (19:06 +0000)
commit9078c0dc5c30f7fcd1503cf30237cd3fe87154c0
tree6252d5fa63a37b9cc1e641981280bc3796ec1e2a
parente37b35040813a7b4dfc9123ba82ce29c32156367
Always persist the `ChannelManager` on a failed ChannelUpdate

If we receive a `ChannelUpdate` message which was invalid, it can
cause us to force-close the channel, which should result in a
`ChannelManager` persistence, though its not critical to do so.
lightning/src/ln/channelmanager.rs