From ac6e144233a7d6e0114d0d0dc3a56e92f36326bf Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Aug 2019 00:27:35 -1100 Subject: [PATCH] Delete duplicated code --- src/pow.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index 14b5ddbb8..3f0219ee8 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -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;