From b36ad22ad678755f02364e7e449eba1b9d3198fd Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 19 Apr 2018 18:33:15 +0300 Subject: [PATCH] Test --- src/komodo_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 23f8820a6..e0c340aed 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1173,7 +1173,7 @@ arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t he if ( height > 1165 ) { if ( height > 1180 ) - bnTarget = ave * arith_uint256(persPoS * persPoS)) / arith_uint256((percPoS + goalperc) * (percPoS + goalperc)); + bnTarget = ave * arith_uint256(percPoS * percPoS)) / arith_uint256((percPoS + goalperc) * (percPoS + goalperc)); else bnTarget = (ave * arith_uint256(goalperc * goalperc)) / arith_uint256(2 * (percPoS + goalperc) * (percPoS + goalperc)); } else bnTarget = (ave * arith_uint256(goalperc)) / arith_uint256(percPoS + goalperc);