]> git.bitcoin.ninja Git - rust-lightning/commit
Continue after a single failure in `ChannelMonitor::update_monitor`
authorMatt Corallo <git@bluematt.me>
Sun, 17 Oct 2021 21:26:04 +0000 (21:26 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 26 Nov 2021 20:40:51 +0000 (20:40 +0000)
commit37c6c18789151b2a8c7c3b7e4c1d98f7f86e906a
tree44d310c6eb13c0df3831ee5d0d0c688467e85a05
parent1ce922c631aac879b3569047a8f17e2a5df5e76a
Continue after a single failure in `ChannelMonitor::update_monitor`

`ChannelMonitorUpdate`s may contain multiple updates, including, eg
a payment preimage after a commitment transaction update. While
such updates are generally not generated today, we shouldn't return
early out of the update loop, causing us to miss any updates after
an earlier update fails.
lightning/src/chain/channelmonitor.rs