Skip to content

Commit bc319a6

Browse files
committed
Process background events when taking the total_consistency_lock
When we generated a `ChannelMonitorUpdate` during `ChannelManager` deserialization, we must ensure that it gets processed before any other `ChannelMonitorUpdate`s. The obvious hook for this is when taking the `total_consistency_lock`, which makes it unlikely we'll regress by forgetting this. Here we add that call in the `PersistenceNotifierGuard`, with a test-only atomic bool to test that this criteria is met.
1 parent 0e39098 commit bc319a6

File tree

5 files changed

+116
-64
lines changed

5 files changed

+116
-64
lines changed

0 commit comments

Comments
 (0)