diff --git a/lib/local_comms.js b/lib/local_comms.js index 947ec15..5955893 100644 --- a/lib/local_comms.js +++ b/lib/local_comms.js @@ -583,6 +583,7 @@ function Database(){ function(callback){ global.coinFuncs.getBlockHeaderByHash(oldestLockedBlock.hash, (err, result) => { oldestLockedBlock.height = result.height; + console.log(`Got the oldest block`); callback(null, oldestLockedBlock); }); }, @@ -624,7 +625,7 @@ function Database(){ let shareCount = 0; let pplnsFound = false; let blockList = []; - debug("Scanning from: "+lastBlock + " for more than: " + difficulty + " shares"); + console.log("Scanning from: "+lastBlock + " for more than: " + difficulty + " shares"); range.range(0, lastBlock+1).forEach(function (blockID) { blockID = (blockID - lastBlock+1) * -1; if (blockID < 0){