diff options
author | jtimon <jtimon@monetize.io> | 2014-03-22 20:09:12 +0100 |
---|---|---|
committer | jtimon <jtimon@monetize.io> | 2014-06-04 13:29:36 +0200 |
commit | 21913a9ac9525547ebe18619748abb18a2ca8cdf (patch) | |
tree | 77db605e657068ef04108c828a4da38bdc18fd34 /src/miner.cpp | |
parent | d754f34e8d470d5d89e2bc31ff1ab60ae5889266 (diff) |
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 44c2faaa4c..708b9248f3 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); |