From 54036e72cdf1eb954deeb2c12b47dba8f2e65543 Mon Sep 17 00:00:00 2001 From: miketout Date: Fri, 12 Oct 2018 21:51:30 -0700 Subject: [PATCH] Revert POS change --- src/pow.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index 6eef597d0..450d9eb1e 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -275,15 +275,7 @@ uint32_t lwmaGetNextPOSRequired(const CBlockIndex* pindexLast, const Consensus:: if ((j - i) >= VERUS_CONSECUTIVE_POS_THRESHOLD) { // if this is real time, return zero - if ((strcmp(ASSETCHAINS_SYMBOL, "VRSC") == 0 && - NetworkUpgradeActive(pindexLast->GetHeight(), params, Consensus::UPGRADE_SAPLING)) || - (strcmp(ASSETCHAINS_SYMBOL, "VERUSTEST") == 0 && pindexLast->GetHeight() > 600)) - { - // target of 0 (virtually impossible), if we hit max consecutive POS blocks - nextTarget.SetCompact(0); - return nextTarget.GetCompact(); - } - else if (j == (N - 1)) + if (j == (N - 1)) { // target of 0 (virtually impossible), if we hit max consecutive POS blocks nextTarget.SetCompact(0);