Add missing callback

This commit is contained in:
Anthony Laibe 2018-09-10 17:05:11 +01:00
parent 68ef5454e0
commit 32a6b53c6a

View File

@ -158,7 +158,8 @@ class Test {
connectToIpcNode(cb) {
this.engine.ipc.request('blockchain:node', {}, (err, node) => {
if (err) {
return this.engine.logger.error(err.message || err);
this.engine.logger.error(err.message || err);
return cb();
}
this.options.node = node;
cb();