Skip to content

Commit

Permalink
Update with extra debugging information.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Blair committed Nov 1, 2017
1 parent 6e767e1 commit 485e772
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/local_comms.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
},
Expand Down Expand Up @@ -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){
Expand Down

0 comments on commit 485e772

Please sign in to comment.