mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-17 05:41:34 +02:00
Testnet changes
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user