From a042ef41f2db5ec89154d82b5522dfb5dcad40d5 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Fri, 2 Oct 2015 01:26:57 -0700 Subject: [PATCH] Forgot to correct interval calculation :( --- src/kernel.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/kernel.cpp b/src/kernel.cpp index 55904e1..7d8a66a 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -523,7 +523,7 @@ bool ScanMidstateForward(SHA256_CTX &ctx, uint32_t nBits, uint32_t nInputTxTime, uint32_t nBegin = SearchInterval.first; uint32_t nEnd = SearchInterval.second; - uint32_t nPart = (nEnd - nBegin) / 4; + uint32_t nPart = (nEnd - nBegin) / nThreads; ScanMidstateWorker *workers = new ScanMidstateWorker[nThreads]; -- 1.7.1