Avoid refusing ChannelMonitorUpdates we expect to receive after closing
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 28 Feb 2023 18:45:48 +0000 (10:45 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 21 Mar 2023 23:25:47 +0000 (16:25 -0700)
commit00cfc6b82300541ace7eee4625267799183513e8
treee86ed66f4e9b2372fb14b9ea66afa3ce3aaeaadf
parentbd4eb0da76207a68396de8b36fb640467255cc31
Avoid refusing ChannelMonitorUpdates we expect to receive after closing

There is no need to fill the user's logs with errors that are expected
to be hit based on specific edge cases, like providing preimages after
a monitor has seen a confirmed commitment on-chain.

This doesn't really change our behavior – we still apply and persist the
state changes resulting from processing these updates regardless of
whether they succeed or not.
lightning/src/chain/channelmonitor.rs