diff --git a/src/miner.cpp b/src/miner.cpp index 9fba729dd3..fcb03eae3a 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -452,7 +452,7 @@ void BlockAssembler::addPackageTxs(int &nPackagesSelected, int &nDescendantsUpda ++nConsecutiveFailed; - if (nConsecutiveFailed > MAX_CONSECUTIVE_FAILURES && nBlockSize > nBlockMaxSize - 4000) { + if (nConsecutiveFailed > MAX_CONSECUTIVE_FAILURES && nBlockSize > nBlockMaxSize - 1000) { // Give up if we're close to full and haven't succeeded in a while break; }