diff --git a/lib/local_comms.js b/lib/local_comms.js index f8afb96..7d37e5e 100644 --- a/lib/local_comms.js +++ b/lib/local_comms.js @@ -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){