mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
refactor: Fix timedata includes
This commit is contained in:
parent
aa9231fafe
commit
fad0fafd5a
10 changed files with 11 additions and 12 deletions
|
|
@ -2188,7 +2188,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