Test
This commit is contained in:
@@ -1351,7 +1351,7 @@ arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t he
|
||||
{
|
||||
//bnTarget = ((ave * arith_uint256(goalperc)) + (easydiff * arith_uint256(percPoS))) / arith_uint256(percPoS + goalperc);
|
||||
bnTarget = (ave * arith_uint256(percPoS * percPoS * percPoS)) / arith_uint256(goalperc * goalperc);
|
||||
if ( bnTarget > easydiff )
|
||||
if ( bnTarget > easydiff || bnTarget < ave )
|
||||
bnTarget = easydiff;
|
||||
if ( 1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user