This commit is contained in:
jl777
2019-08-02 04:15:35 -11:00
parent f0fcb174f2
commit fd5e54dc9f

View File

@@ -127,7 +127,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
}
else
{
if ( block4diff < ASSETCHAINS_BLOCKTIME ) // for 10x and higher hashrate increases
if ( block4diff > 4 && block4diff < ASSETCHAINS_BLOCKTIME ) // for 10x and higher hashrate increases
{
block4diff += (2 * ASSETCHAINS_BLOCKTIME) / 3;
bnTarget = bnTarget * arith_uint256(block4diff) / arith_uint256(ASSETCHAINS_BLOCKTIME * 2);