diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-28 15:33:06 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-28 15:33:28 +0200 |
commit | 20f9ecd343bbd305f0aeb829f42e61edea8de62f (patch) | |
tree | 4f2db2a86567d33ac4c337083c391277240d3d4d /src | |
parent | 5725807402ec9c056e43bebe25a2543cbd94ddc6 (diff) | |
parent | c7aac2d557fe3d3aa5bcdd3301a9b87eb110d8ed (diff) |
Merge #7962: CalculateNextWorkRequired Cleanup
c7aac2d Deprecating the remaining LogPrintf dependencies that were made obsolete in PR #7459. (21E14)
Diffstat (limited to 'src')
-rw-r--r-- | src/pow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pow.cpp b/src/pow.cpp index 058404f357..1db3b69293 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -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; |