From 260e979bd659b963d1071e3606eaea7c39945680 Mon Sep 17 00:00:00 2001 From: masterchief164 <63920595+masterchief164@users.noreply.github.com> Date: Thu, 1 Jun 2023 16:52:45 +0530 Subject: [PATCH] fix: added correct services for neutrino --- lib/net/pool.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/net/pool.js b/lib/net/pool.js index 323da2e5c..ec0b6b8d7 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -4003,6 +4003,9 @@ class PoolOptions { this.listen = false; } + if (this.neutrino) + this.requiredServices |= common.services.NODE_COMPACT_FILTERS; + if (this.selfish) { this.services &= ~common.services.NETWORK; this.bip37 = false; @@ -4011,7 +4014,7 @@ class PoolOptions { if (this.bip37) this.services |= common.services.BLOOM; - if (this.bip157 || this.neutrino) + if (this.bip157) this.services |= common.services.NODE_COMPACT_FILTERS; if (this.proxy)