diff options
| author | 21E14 <[email protected]> | 2016-04-27 22:36:45 -0400 |
|---|---|---|
| committer | 21E14 <[email protected]> | 2016-04-27 22:36:45 -0400 |
| commit | c7aac2d557fe3d3aa5bcdd3301a9b87eb110d8ed (patch) | |
| tree | 282d603adf6b869190069cfe1a3f53c4512c5735 /src/pow.cpp | |
| parent | Merge #7954: build: quiet annoying warnings without adding new ones (diff) | |
| download | discoin-c7aac2d557fe3d3aa5bcdd3301a9b87eb110d8ed.tar.xz discoin-c7aac2d557fe3d3aa5bcdd3301a9b87eb110d8ed.zip | |
Deprecating the remaining LogPrintf dependencies that were made obsolete in PR #7459.
Diffstat (limited to 'src/pow.cpp')
| -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 058404f35..1db3b6929 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; |