mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 38941045c5 into merged_master (Bitcoin PR bitcoin/bitcoin#29361)
This commit is contained in:
commit
cffb3d4646
10 changed files with 11 additions and 12 deletions
|
|
@ -2388,7 +2388,7 @@ bool Chainstate::ConnectBlock(const CBlock& block, BlockValidationState& state,
|
|||
// Also, currently the rule against blocks more than 2 hours in the future
|
||||
// is enforced in ContextualCheckBlockHeader(); we wouldn't want to
|
||||
// re-enforce that rule here (at least until we make it impossible for
|
||||
// m_adjusted_time_callback() to go backward).
|
||||
// the clock to go backward).
|
||||
if (!CheckBlock(block, state, params.GetConsensus(), !fJustCheck, !fJustCheck)) {
|
||||
if (state.GetResult() == BlockValidationResult::BLOCK_MUTATED) {
|
||||
// We don't write down blocks to disk if they may have been
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue