Stupid callback.

This commit is contained in:
Alexander Blair
2017-11-01 10:25:51 -07:00
parent 382fc57add
commit 7646fb11b4
+1 -1
View File
@@ -684,7 +684,7 @@ function Database(){
function(callback){
global.coinFuncs.getBlockHeaderByHash(oldestLockedBlock.hash, (err, result) => {
oldestLockedBlock.height = result.height;
callback(oldestLockedBlock);
callback(null, oldestLockedBlock);
});
},
function(oldestLockedBlock, callback){