diff --git a/lib/net/bip152.js b/lib/net/bip152.js index a1a2fe96..35036baf 100644 --- a/lib/net/bip152.js +++ b/lib/net/bip152.js @@ -565,7 +565,7 @@ function TXRequest(options) { if (!(this instanceof TXRequest)) return new TXRequest(options); - this.hash = null; + this.hash = encoding.NULL_HASH; this.indexes = []; if (options) @@ -757,7 +757,7 @@ function TXResponse(options) { if (!(this instanceof TXResponse)) return new TXResponse(options); - this.hash = null; + this.hash = encoding.NULL_HASH; this.txs = []; if (options)