diff --git a/lib/node/http.js b/lib/node/http.js index 98279d96..dc25f8ff 100644 --- a/lib/node/http.js +++ b/lib/node/http.js @@ -655,6 +655,9 @@ class HTTP extends Server { */ async scan(socket, start) { + if (!socket.filter) + return null; + await this.node.scan(start, socket.filter, (entry, txs) => { const block = entry.toRaw(); const raw = [];