From 51b4a98026660048b88956c3dbfe5d84ba18781b Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Wed, 1 Nov 2017 09:28:44 -0700 Subject: [PATCH] Fix bad ref. --- lib/local_comms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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