Added setImmediate to the tests instead of the code since this seems to be where the issue is.
This commit is contained in:
parent
0ac83098e9
commit
ec720c2443
@ -93,8 +93,8 @@ describe('Daemon Binding Functionality', function() {
|
|||||||
// Generate enough blocks so that the initial coinbase transactions
|
// Generate enough blocks so that the initial coinbase transactions
|
||||||
// can be spent.
|
// can be spent.
|
||||||
|
|
||||||
|
setImmediate(function() {
|
||||||
client.generate(150, function(err, response) {
|
client.generate(150, function(err, response) {
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
@ -138,9 +138,8 @@ describe('Daemon Binding Functionality', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user