Testnet changes

This commit is contained in:
myriadcoin
2015-07-12 11:37:49 +02:00
parent 337b8c84b4
commit c8aba2ce53
+2 -1
View File
@@ -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)