From c8aba2ce531ae803f536cf9853af2ae414e52eee Mon Sep 17 00:00:00 2001 From: myriadcoin Date: Sun, 12 Jul 2015 11:37:49 +0200 Subject: [PATCH] Testnet changes --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c61a64b9..80dcf5d2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1337,6 +1337,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead if (pindexLast == NULL) return nProofOfWorkLimit; +/* if (TestNet()) { // Special difficulty rule for testnet: @@ -1353,7 +1354,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead return pindex->nBits; } } - +*/ // find previous block with same algo const CBlockIndex* pindexPrev = GetLastBlockIndexForAlgo(pindexLast, algo); if (pindexPrev == NULL)