config.address -> config.account.address

This commit is contained in:
Aakil Fernandes 2015-09-25 15:16:44 -04:00 committed by Aakil Fernandes
parent 2526ba47fd
commit 03c7f25219
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ Blockchain.prototype.run_command = function(address, use_tmp) {
Blockchain.prototype.get_address = function() {
var config = this.config;
if(config.address)
return this.config.address;
if(config.account.address)
return config.account.address;
var address = null;