We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c2f4e5 commit 85bb94aCopy full SHA for 85bb94a
lightning/src/chain/chainmonitor.rs
@@ -602,7 +602,7 @@ where C::Target: chain::Filter,
602
monitor,
603
pending_monitor_updates: Mutex::new(pending_monitor_updates),
604
channel_perm_failed: AtomicBool::new(false),
605
- last_chain_persist_height: AtomicUsize::new(0),
+ last_chain_persist_height: AtomicUsize::new(self.highest_chain_height.load(Ordering::Acquire)),
606
});
607
persist_res
608
}
0 commit comments