use account if expliciitly set in config

This commit is contained in:
Aakil Fernandes 2015-09-25 14:46:28 -04:00 committed by Aakil Fernandes
parent 8539ff241f
commit 2526ba47fd
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.address)
return this.config.address;
var address = null; var address = null;
if (config.account.init) { if (config.account.init) {