mirror of https://github.com/embarklabs/embark.git
Add warning
This commit is contained in:
parent
23f7ec396a
commit
fdd2d10d38
|
@ -187,6 +187,12 @@ Config.prototype.loadBlockchainConfigFile = function() {
|
|||
if (!configFilePath) {
|
||||
this.blockchainConfig.default = true;
|
||||
}
|
||||
if(!this.blockchainConfig.account && !this.blockchainConfig.isDev) {
|
||||
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.')
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Config.prototype.loadContractsConfigFile = function() {
|
||||
|
|
Loading…
Reference in New Issue