This commit is contained in:
jl777
2016-10-20 16:21:41 -03:00
parent 92ec2db8e9
commit b93286c28e
3 changed files with 2 additions and 3 deletions

View File

@@ -134,7 +134,6 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
// Check range
if (fNegative || bnTarget == 0 || fOverflow || bnTarget > UintToArith256(params.powLimit))
return error("CheckProofOfWork(): nBits below minimum work");
// Check proof of work matches claimed amount
if (UintToArith256(hash) > bnTarget)
{