Fixed network name when referring to bcoin's main net.

This commit is contained in:
Chris Kleeschulte 2017-08-10 18:11:04 -04:00
parent bf7cd67269
commit c7ee57f224

View File

@ -17,6 +17,9 @@ var AddressService = function(options) {
this._db = this.node.services.db;
this._tx = this.node.services.transaction;
this._network = this.node.network;
if (this._network === 'livenet') {
this._network = 'main';
}
this._timestamp = this.node.services.timestamp;
this._p2p = this.node.services.p2p;
};