mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
Add missing callback
This commit is contained in:
parent
68ef5454e0
commit
32a6b53c6a
@ -158,7 +158,8 @@ class Test {
|
|||||||
connectToIpcNode(cb) {
|
connectToIpcNode(cb) {
|
||||||
this.engine.ipc.request('blockchain:node', {}, (err, node) => {
|
this.engine.ipc.request('blockchain:node', {}, (err, node) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return this.engine.logger.error(err.message || err);
|
this.engine.logger.error(err.message || err);
|
||||||
|
return cb();
|
||||||
}
|
}
|
||||||
this.options.node = node;
|
this.options.node = node;
|
||||||
cb();
|
cb();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user