diff --git a/lib/local_comms.js b/lib/local_comms.js index 0bbef1c..8b4c8f6 100644 --- a/lib/local_comms.js +++ b/lib/local_comms.js @@ -650,7 +650,7 @@ function Database(){ let oldestLockedBlock = this.getOldestLockedBlock(); async.waterfall([ function(callback){ - global.coinFuncs.getLastBlockHeader(function(body){ + global.coinFuncs.getLastBlockHeader(function(err, body){ if (oldestLockedBlock === null){ /* If there's no locked blocks, then allow the system to scan from the PPS depth downwards if PPS