pass isDev and locale to process

This commit is contained in:
Jonathan Rainville 2018-05-23 11:52:07 -04:00
parent 61a5ba5e0a
commit a69d12e637
3 changed files with 7 additions and 4 deletions

View File

@ -16,6 +16,8 @@ class Blockchain {
this.contractsConfig = options.contractsConfig;
this.blockchainConfig = options.blockchainConfig;
this.web3 = options.web3;
this.locale = options.locale;
this.isDev = options.isDev;
this.addCheck = options.addCheck;
this.web3Endpoint = '';
this.isWeb3Ready = false;
@ -95,7 +97,8 @@ class Blockchain {
logger: self.logger,
normalizeInput: utils.normalizeInput,
blockchainConfig: self.blockchainConfig,
locale: self.locale
locale: self.locale,
isDev: self.isDev
});
blockchainProcess.startBlockchainNode();

View File

@ -290,6 +290,7 @@ class Engine {
events: this.events,
logger: this.logger,
isDev: this.isDev,
locale: this.locale,
web3: options.web3
});

View File

@ -10,6 +10,7 @@ class BlockchainProcessLauncher {
this.normalizeInput = options.normalizeInput;
this.blockchainConfig = options.blockchainConfig;
this.locale = options.locale;
this.isDev = options.isDev;
}
processEnded(code) {
@ -34,9 +35,7 @@ class BlockchainProcessLauncher {
// TODO: assume for now it's geth
client: 'geth',
env: this.env,
//isDev: this.isDev,
// TODO: assume for now it's true
isDev: true,
isDev: this.isDev,
locale: this.locale
}
});