Skip to content

Commit

Permalink
Slow down regtest
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Jan 8, 2023
1 parent daa8680 commit 391ef93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 391ef93

Please sign in to comment.