Merge 349632e022 into merged_master (Bitcoin PR bitcoin/bitcoin#30807)

This commit is contained in:
ivanlele 2026-03-25 13:50:36 +00:00
commit a4f8f89bf4
No known key found for this signature in database
7 changed files with 147 additions and 11 deletions

View file

@ -4049,8 +4049,8 @@ bool Chainstate::ActivateBestChain(BlockValidationState& state, std::shared_ptr<
//
// This cannot be done while holding cs_main (within
// MaybeCompleteSnapshotValidation) or a cs_main deadlock will occur.
if (m_chainman.restart_indexes) {
m_chainman.restart_indexes();
if (m_chainman.snapshot_download_completed) {
m_chainman.snapshot_download_completed();
}
break;
}