From 340d4e32721a3c5bea528d23fbc1ae3f314b384a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 23 Jul 2017 22:17:55 -0700 Subject: [PATCH] bip152: minor. --- lib/net/bip152.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)