From 6dd881ad18722317545de382d4816ea4601993b6 Mon Sep 17 00:00:00 2001 From: Alessandro Rezzi Date: Sat, 4 Feb 2023 17:48:39 +0100 Subject: [PATCH] Forgot to uncomment --- src/validation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/validation.cpp b/src/validation.cpp index d50682192abf5..a2ff75a42b899 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2844,8 +2844,8 @@ bool CheckWork(const CBlock& block, const CBlockIndex* const pindexPrev) bool CheckBlockTime(const CBlockHeader& block, CValidationState& state, CBlockIndex* const pindexPrev) { // Not enforced on RegTest - //if (Params().IsRegTestNet()) - // return true; + if (Params().IsRegTestNet()) + return true; const int64_t blockTime = block.GetBlockTime(); const int blockHeight = pindexPrev->nHeight + 1;