This commit is contained in:
jl777
2019-08-05 10:07:48 -11:00
parent dba368306b
commit e94370e3f0

View File

@@ -325,7 +325,13 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
bnTarget = (bnTarget + bnPrev) / arith_uint256(2);
else bnTarget = origtarget;
}
}
else if ( pindexLast->GetHeight()+1 >= 350 )
{
if ( bnTarget < origtarget )
bnTarget = (bnTarget + bnPrev) / arith_uint256(2);
else bnTarget = origtarget;
}
}
}
nbits = bnTarget.GetCompact();
}