mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Stupid callback.
This commit is contained in:
+1
-1
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user