diff options
| author | jtimon <[email protected]> | 2014-03-22 20:09:12 +0100 |
|---|---|---|
| committer | jtimon <[email protected]> | 2014-06-04 13:29:36 +0200 |
| commit | 21913a9ac9525547ebe18619748abb18a2ca8cdf (patch) | |
| tree | 77db605e657068ef04108c828a4da38bdc18fd34 /src/miner.cpp | |
| parent | Move majority constants to chainparams (diff) | |
| download | discoin-21913a9ac9525547ebe18619748abb18a2ca8cdf.tar.xz discoin-21913a9ac9525547ebe18619748abb18a2ca8cdf.zip | |
Add AllowMinDifficultyBlocks chain parameter
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index 44c2faaa4..708b9248f 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -632,7 +632,7 @@ void static BitcoinMiner(CWallet *pwallet) // Update nTime every few seconds UpdateTime(*pblock, pindexPrev); nBlockTime = ByteReverse(pblock->nTime); - if (TestNet()) + if (Params().AllowMinDifficultyBlocks()) { // Changing pblock->nTime can change work required on testnet: nBlockBits = ByteReverse(pblock->nBits); |