netaddress: fix fromHost to include BLOOM service

This commit is contained in:
Mokhtar Naamani 2017-01-02 17:18:17 +02:00
parent f8fa536129
commit bbafbbb98c

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);