mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-22 21:29:14 +00:00
set verbosity to 0 in process
This commit is contained in:
parent
3fcc36a7a1
commit
7e058e5016
@ -41,7 +41,8 @@ var Blockchain = function(options) {
|
||||
vmdebug: this.blockchainConfig.vmdebug || false,
|
||||
targetGasLimit: this.blockchainConfig.targetGasLimit || false,
|
||||
light: this.blockchainConfig.light || false,
|
||||
fast: this.blockchainConfig.fast || false
|
||||
fast: this.blockchainConfig.fast || false,
|
||||
verbosity: this.blockchainConfig.verbosity
|
||||
};
|
||||
|
||||
if (this.blockchainConfig === {} || JSON.stringify(this.blockchainConfig) === '{"enabled":true}') {
|
||||
|
@ -12,6 +12,7 @@ class BlockchainProcess extends ProcessWrapper {
|
||||
|
||||
i18n.setOrDetectLocale(options.locale);
|
||||
|
||||
this.blockchainConfig.verbosity = 0;
|
||||
this.blockchain = BlockchainClient(this.blockchainConfig, this.client, this.env, this.isDev);
|
||||
this.blockchain.run();
|
||||
}
|
||||
|
@ -32,6 +32,10 @@ class GethCommands {
|
||||
cmd += "--password " + config.account.password + " ";
|
||||
}
|
||||
|
||||
if (Number.isInteger(config.verbosity) && config.verbosity >=0 && config.verbosity <= 5) {
|
||||
cmd += "--verbosity " + config.verbosity + " ";
|
||||
}
|
||||
|
||||
return cmd;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user