Skip to content

Commit 391ef93

Browse files
committed
Slow down regtest
1 parent daa8680 commit 391ef93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2844,8 +2844,8 @@ bool CheckWork(const CBlock& block, const CBlockIndex* const pindexPrev)
28442844
bool CheckBlockTime(const CBlockHeader& block, CValidationState& state, CBlockIndex* const pindexPrev)
28452845
{
28462846
// Not enforced on RegTest
2847-
if (Params().IsRegTestNet())
2848-
return true;
2847+
//if (Params().IsRegTestNet())
2848+
// return true;
28492849

28502850
const int64_t blockTime = block.GetBlockTime();
28512851
const int blockHeight = pindexPrev->nHeight + 1;

0 commit comments

Comments
 (0)