mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
Merge pull request #597 from embark-framework/bug_fix/account-dev
fix account initialization and address use
This commit is contained in:
commit
343bc643a9
@ -197,7 +197,7 @@ class GethCommands {
|
||||
},
|
||||
function accountToUnlock(callback) {
|
||||
let accountAddress = "";
|
||||
if(config.hasOwnProperty('address') && config.account.hasOwnProperty('address')) {
|
||||
if(config.account && config.account.address) {
|
||||
accountAddress = config.account.address;
|
||||
} else {
|
||||
accountAddress = address;
|
||||
|
Loading…
x
Reference in New Issue
Block a user