From cd108d95cefd8751f5e9914adc935dee10d30ed1 Mon Sep 17 00:00:00 2001 From: asuka431 Date: Fri, 27 Aug 2021 21:55:25 +0900 Subject: [PATCH] Revert "Update pow.cpp" This reverts commit 08a38b50d0b6ae8900aa072d00922a17b6d2219f. --- src/pow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {