no warning in development

This commit is contained in:
Jonathan Rainville 2018-09-05 09:45:34 -04:00
parent 0f1f3a782a
commit 3991880b44
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ Config.prototype.loadBlockchainConfigFile = function() {
if (!configFilePath) {
this.blockchainConfig.default = true;
}
if(!this.blockchainConfig.account && !this.blockchainConfig.isDev) {
if(!this.blockchainConfig.account && !this.blockchainConfig.isDev && this.env !== 'development') {
this.logger.warn(
__('Account settings are needed for this chain.' +
' Please put a valid address and possibly a password in your blockchain config or use a dev chain.')