Deprecating the remaining LogPrintf dependencies that were made obsolete in PR #7459.

This commit is contained in:
21E14 2016-04-27 22:36:45 -04:00
parent 08b37c5e06
commit c7aac2d557

View File

@ -64,9 +64,7 @@ unsigned int CalculateNextWorkRequired(const CBlockIndex* pindexLast, int64_t nF
// Retarget
const arith_uint256 bnPowLimit = UintToArith256(params.powLimit);
arith_uint256 bnNew;
arith_uint256 bnOld;
bnNew.SetCompact(pindexLast->nBits);
bnOld = bnNew;
bnNew *= nActualTimespan;
bnNew /= params.nPowTargetTimespan;