Fix bad ref.

This commit is contained in:
Alexander Blair
2017-11-01 09:28:44 -07:00
parent 349be0bc3d
commit 51b4a98026
+1 -1
View File
@@ -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