diff --git a/src/pow.cpp b/src/pow.cpp index 1d004469b..cd3fd21c8 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; + bnNew /= PastRateTargetSeconds; } if (bnNew > UintToArith256(params.powLimit)) {