Merge 6fc4692797 into merged_master (Bitcoin PR bitcoin/bitcoin#29624)

This commit is contained in:
ivanlele 2026-03-26 14:09:14 +00:00
commit 3a99f4b046
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -6622,7 +6622,7 @@ util::Result<void> ChainstateManager::PopulateAndValidateSnapshot(
index = snapshot_chainstate.m_chain[i];
// Fake BLOCK_OPT_WITNESS so that Chainstate::NeedsRedownload()
// won't ask to rewind the entire assumed-valid chain on startup.
// won't ask for -reindex on startup.
if (DeploymentActiveAt(*index, *this, Consensus::DEPLOYMENT_SEGWIT)) {
index->nStatus |= BLOCK_OPT_WITNESS;
}