From e22c71715efcd306b2c3806be662f293f35a3985 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Aug 2019 01:32:31 -1100 Subject: [PATCH] Invert cab --- src/pow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index ff64b58e1..78053398a 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -185,16 +185,14 @@ arith_uint256 zawy_exponential(arith_uint256 bnTarget,int32_t mult) return(bnTarget); } -// 17:03 6x at ht.255 launch for ZAWY17 - arith_uint256 zawy_ctB(arith_uint256 bnTarget,uint32_t solvetime) { int64_t num; num = ((int64_t)1000 * solvetime * solvetime * 1000) / (T * T * 784); if ( num > 1 ) { - bnTarget /= arith_uint256(num); - bnTarget *= arith_uint256(1000); + bnTarget /= arith_uint256(1000); + bnTarget *= arith_uint256(num); } return(bnTarget); }