mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
fix account initialization and address use
This commit is contained in:
parent
91cec97a76
commit
08358fce0a
@ -197,7 +197,7 @@ class GethCommands {
|
|||||||
},
|
},
|
||||||
function accountToUnlock(callback) {
|
function accountToUnlock(callback) {
|
||||||
let accountAddress = "";
|
let accountAddress = "";
|
||||||
if(config.hasOwnProperty('address') && config.account.hasOwnProperty('address')) {
|
if(config.account && config.account.address) {
|
||||||
accountAddress = config.account.address;
|
accountAddress = config.account.address;
|
||||||
} else {
|
} else {
|
||||||
accountAddress = address;
|
accountAddress = address;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user