use account if expliciitly set in config
This commit is contained in:
parent
8539ff241f
commit
2526ba47fd
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue