mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-21 20:58:58 +00:00
fix checking node connection
This commit is contained in:
parent
5a0991c41f
commit
6016ef61d9
@ -21,7 +21,7 @@ class BlockchainProcessLauncher {
|
|||||||
this.logger.info(__('Starting Blockchain node in another process').cyan);
|
this.logger.info(__('Starting Blockchain node in another process').cyan);
|
||||||
|
|
||||||
this.blockchainProcess = new ProcessLauncher({
|
this.blockchainProcess = new ProcessLauncher({
|
||||||
modulePath: utils.joinPath(__dirname, '../../cmds/blockchain/blockchainProcess.js'),
|
modulePath: utils.joinPath(__dirname, './blockchainProcess.js'),
|
||||||
logger: this.logger,
|
logger: this.logger,
|
||||||
events: this.events,
|
events: this.events,
|
||||||
silent: this.logger.logLevel !== 'trace',
|
silent: this.logger.logLevel !== 'trace',
|
||||||
|
@ -84,7 +84,7 @@ class BlockchainModule {
|
|||||||
console.dir("------");
|
console.dir("------");
|
||||||
console.dir(result);
|
console.dir(result);
|
||||||
console.dir("------");
|
console.dir("------");
|
||||||
if (err === true || result === undefined) {
|
if (err === true || err === undefined) {
|
||||||
return cb(true);
|
return cb(true);
|
||||||
}
|
}
|
||||||
return cb(false);
|
return cb(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user