diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-09 16:09:54 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-03-09 16:09:54 +0100 |
commit | 3aa0130b963087025b64108225bbadea36d8c6df (patch) | |
tree | 024f6956d4d5c6df9c9c232a25cfbd6ceb409168 /src/pow.cpp | |
parent | 59bd89f11636e90b2d684e8f411d8d7a88622458 (diff) |
test: remove fSkipProofOfWork
Not used, and REGTEST already allows creating blocks at
the lowerst possible difficulty.
Diffstat (limited to 'src/pow.cpp')
-rw-r--r-- | src/pow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pow.cpp b/src/pow.cpp index b75b293c90..eb899ffc94 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -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 |