mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge 6fc4692797 into merged_master (Bitcoin PR bitcoin/bitcoin#29624)
This commit is contained in:
commit
3a99f4b046
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue