Delete duplicated code

This commit is contained in:
jl777
2019-08-07 00:27:35 -11:00
parent 1afc2f2569
commit ac6e144233

View File

@@ -256,13 +256,6 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
{
if ( zflags[i] != 0 )
ct[i] = zawy_ctB(ct[i],ts[i] - ts[i+1]);
{
ct[i] /= arith_uint256(K);
ct[i] *= arith_uint256((int64_t)(ts[i] - ts[i+1]) * (ts[i] - ts[i+1]) * 1000);
ct[i] /= arith_uint256(T * T * 784);
ct[i] *= arith_uint256(K);
}
}
}
pindexFirst = pindexLast;