netaddress: fix fromHost to include BLOOM service
This commit is contained in:
parent
f8fa536129
commit
bbafbbb98c
@ -218,7 +218,7 @@ NetAddress.prototype.fromHost = function fromHost(host, port, network) {
|
|||||||
|
|
||||||
this.host = host;
|
this.host = host;
|
||||||
this.port = port || network.port;
|
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.ts = network.now();
|
||||||
|
|
||||||
this.hostname = IP.hostname(this.host, this.port);
|
this.hostname = IP.hostname(this.host, this.port);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user