test: remove fSkipProofOfWork

Not used, and REGTEST already allows creating blocks at
the lowerst possible difficulty.
This commit is contained in:
Wladimir J. van der Laan
2015-03-09 16:09:54 +01:00
parent 59bd89f116
commit 3aa0130b96
4 changed files with 1 additions and 9 deletions

View File

@ -87,9 +87,6 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits)
bool fOverflow;
arith_uint256 bnTarget;
if (Params().SkipProofOfWorkCheck())
return true;
bnTarget.SetCompact(nBits, &fNegative, &fOverflow);
// Check range