diff --git a/src/pow.cpp b/src/pow.cpp index cd3fd21c8..1c9743541 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -92,8 +92,8 @@ unsigned int KimotoGravityWell(const CBlockIndex* pindexLast, const CBlockHeader arith_uint256 bnNew(PastDifficultyAverage); if (PastRateActualSeconds != 0 && PastRateTargetSeconds != 0) { - bnNew *= PastRateActualSeconds; bnNew /= PastRateTargetSeconds; + bnNew *= PastRateActualSeconds; } if (bnNew > UintToArith256(params.powLimit)) {