mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
Merge pull request #863 from embark-framework/bug_fix/minewhenneeded-fixes-2
Geth creates new account - add password warning
This commit is contained in:
commit
7f66e24b2f
@ -63,6 +63,9 @@ class GethCommands {
|
||||
}
|
||||
|
||||
newAccountCommand() {
|
||||
if (!(this.config.account && this.config.account.password)){
|
||||
console.warn(__('Your blockchain is missing a password and creating an account may fail. Please consider updating ').yellow + __('config/blockchain > account > password').cyan + __(' then re-run the command').yellow);
|
||||
}
|
||||
return this.geth_bin + " " + this.commonOptions().join(' ') + " account new ";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user