mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
blockManager fix for depthed scans.
This commit is contained in:
+1
-1
@@ -465,7 +465,7 @@ function blockScanner() {
|
||||
}
|
||||
debug("Parsing data for new blocks");
|
||||
lastBlock = blockHeader.height;
|
||||
range.range(0, (blockHeader.height - global.config.payout.blocksRequired)).forEach(function (blockID) {
|
||||
range.range(0, (blockHeader.height - Math.floor(global.config.payout.blocksRequired/2))).forEach(function (blockID) {
|
||||
if (!blockIDCache.hasOwnProperty(blockID)) {
|
||||
inc_check += 1;
|
||||
blockQueue.push({blockID: blockID}, function (err) {
|
||||
|
||||
Reference in New Issue
Block a user