]> git.bitcoin.ninja Git - rust-lightning/commit
Process updates before archiving monitors.
authorArik Sosman <git@arik.io>
Wed, 28 Aug 2024 16:33:14 +0000 (09:33 -0700)
committerArik Sosman <git@arik.io>
Wed, 28 Aug 2024 19:19:38 +0000 (12:19 -0700)
commit47c8aa51a666b48f2a414f545a06e0f92935a139
treedc4158598bc2a86571d9cecff49d86aab96f9fb5
parent61197390d60b0190ed0d60e81ea5da70bd79322d
Process updates before archiving monitors.

Previously, `MonitorUpdatingPersister` was disregarding any unapplied
monitor updates when archiving them. This commit ensures that upon
reading monitors, their corresponding updates are also read and
applied prior to archiving.
lightning/src/util/persist.rs