Merge pull request #94 from SafeMarket/accountfix

Accountfix
This commit is contained in:
Iuri Matias 2015-10-01 22:23:45 -04:00
commit 161514d8b0
1 changed files with 4 additions and 0 deletions

View File

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