Undo debugging change from 5be6abbf84

This was unintentionally committed, and caused Equihash verification of blocks
without parents to be skipped. This only affects the genesis block on the test
network, but also causes the "time verifyequihash" benchmark to incorrectly
appear instantaneous.
This commit is contained in:
Jack Grigg 2016-08-26 14:09:25 +12:00
parent e7f12c2057
commit 488e61e852
1 changed files with 0 additions and 4 deletions

View File

@ -96,10 +96,6 @@ unsigned int CalculateNextWorkRequired(uint32_t nBits, int64_t nLastBlockTime, i
bool CheckEquihashSolution(const CBlockHeader *pblock, const CChainParams& params)
{
// Don't validate genesis
if (pblock->hashPrevBlock.IsNull())
return true;
unsigned int n = params.EquihashN();
unsigned int k = params.EquihashK();