diff --git a/lib/modules/blockchain_process/geth_commands.js b/lib/modules/blockchain_process/geth_commands.js index 58001b5c..61212b80 100644 --- a/lib/modules/blockchain_process/geth_commands.js +++ b/lib/modules/blockchain_process/geth_commands.js @@ -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 "; }