blockManager fix for depthed scans.

master
Alexander Blair 7 years ago
parent 78c0b2e7fb
commit 0783db81b5

@ -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) {

Loading…
Cancel
Save