From c7ee57f224625297615d63426797bd1506f8f8af Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Thu, 10 Aug 2017 18:11:04 -0400 Subject: [PATCH] Fixed network name when referring to bcoin's main net. --- lib/services/address/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/services/address/index.js b/lib/services/address/index.js index 869443f5..0fe9830b 100644 --- a/lib/services/address/index.js +++ b/lib/services/address/index.js @@ -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; };