fix checking node connection

This commit is contained in:
Iuri Matias 2018-07-20 17:12:57 +03:00
parent 5a0991c41f
commit 6016ef61d9
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class BlockchainProcessLauncher {
this.logger.info(__('Starting Blockchain node in another process').cyan);
this.blockchainProcess = new ProcessLauncher({
modulePath: utils.joinPath(__dirname, '../../cmds/blockchain/blockchainProcess.js'),
modulePath: utils.joinPath(__dirname, './blockchainProcess.js'),
logger: this.logger,
events: this.events,
silent: this.logger.logLevel !== 'trace',

View File

@ -84,7 +84,7 @@ class BlockchainModule {
console.dir("------");
console.dir(result);
console.dir("------");
if (err === true || result === undefined) {
if (err === true || err === undefined) {
return cb(true);
}
return cb(false);