Fixed network name when referring to bcoin's main net.
This commit is contained in:
parent
bf7cd67269
commit
c7ee57f224
@ -17,6 +17,9 @@ var AddressService = function(options) {
|
|||||||
this._db = this.node.services.db;
|
this._db = this.node.services.db;
|
||||||
this._tx = this.node.services.transaction;
|
this._tx = this.node.services.transaction;
|
||||||
this._network = this.node.network;
|
this._network = this.node.network;
|
||||||
|
if (this._network === 'livenet') {
|
||||||
|
this._network = 'main';
|
||||||
|
}
|
||||||
this._timestamp = this.node.services.timestamp;
|
this._timestamp = this.node.services.timestamp;
|
||||||
this._p2p = this.node.services.p2p;
|
this._p2p = this.node.services.p2p;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user