aboutsummaryrefslogtreecommitdiff
path: root/src/pow.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-03-09 16:09:54 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-03-09 16:09:54 +0100
commit3aa0130b963087025b64108225bbadea36d8c6df (patch)
tree024f6956d4d5c6df9c9c232a25cfbd6ceb409168 /src/pow.cpp
parent59bd89f11636e90b2d684e8f411d8d7a88622458 (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.cpp3
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