Remove hardfork from special testnet difficulty rules

Closes #1131
This commit is contained in:
Jack Grigg 2016-07-29 21:46:27 +12:00
parent b2e956be01
commit 9e0713f47f
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
// then allow mining of a min-difficulty block.
if (pblock->GetBlockTime() > pindexLast->GetBlockTime() + params.nPowTargetSpacing*2)
return nProofOfWorkLimit;
else if (pindexLast->nHeight >= 43400) { // TODO remove hardfork at next chain reset
else {
// Get the last non-min-difficulty (or at worst the genesis difficulty)
while (pindexBits->pprev && pindexBits->nBits == nProofOfWorkLimit)
pindexBits = pindexBits->pprev;