bip152: minor.

This commit is contained in:
Christopher Jeffrey 2017-07-23 22:17:55 -07:00
parent 6c901a19fa
commit 340d4e3272
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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)