fix(accounts): remove warning for simulator configs

This commit is contained in:
Jonathan Rainville 2018-12-04 10:54:05 -05:00
parent 3a3c81e7d1
commit de58cab475

View File

@ -107,6 +107,10 @@ class AccountParser {
}
return accounts;
}
if (accountConfig.secretKey) {
// Ignore simulator configs
return null;
}
logger.warn(__('Unsupported account configuration: %s' ,JSON.stringify(accountConfig)));
logger.warn(__('Check the docs at %s', 'https://embark.status.im/docs/contracts_deployment.html#Using-accounts-in-a-wallet'.underline));
return null;