Merge pull request #111 from mnaamani/hotfix-netaddress

netaddress: fix fromHost to include BLOOM service
This commit is contained in:
Christopher Jeffrey (JJ) 2017-01-03 14:58:46 -08:00 committed by GitHub
commit 19c44a9779

View File

@ -218,7 +218,7 @@ NetAddress.prototype.fromHost = function fromHost(host, port, network) {
this.host = host;
this.port = port || network.port;
this.services = constants.services.NETWORK | constants.services.WITNESS;
this.services = constants.services.NETWORK | constants.services.WITNESS | constants.services.BLOOM;
this.ts = network.now();
this.hostname = IP.hostname(this.host, this.port);