This commit is contained in:
jl777
2018-04-19 18:33:15 +03:00
parent 1247b7d429
commit b36ad22ad6

View File

@@ -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);