diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 095941657..be4c94484 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1170,10 +1170,10 @@ arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t he } else return(target); if ( percPoS < goalperc ) // increase PoW diff -> lower bnTarget { - if ( height > 1120 ) + if ( height > 1200 ) { - factor = arith_uint256(goalperc) / arith_uint256(percPoS + goalperc); - bnTarget = (ave * factor * factor); + factor = arith_uint256(goalperc * goalperc) / arith_uint256((percPoS + goalperc) * (percPoS + goalperc)); + bnTarget = (ave * factor); } else bnTarget = (ave * arith_uint256(goalperc)) / arith_uint256(percPoS + goalperc); if ( 1 )