diff --git a/lib/modules/blockchain_process/blockchainProcessLauncher.js b/lib/modules/blockchain_process/blockchainProcessLauncher.js index a15e5909b..1bd6685fa 100644 --- a/lib/modules/blockchain_process/blockchainProcessLauncher.js +++ b/lib/modules/blockchain_process/blockchainProcessLauncher.js @@ -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', diff --git a/lib/modules/blockchain_process/index.js b/lib/modules/blockchain_process/index.js index 3aa1be4c4..a57d52be1 100644 --- a/lib/modules/blockchain_process/index.js +++ b/lib/modules/blockchain_process/index.js @@ -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);