bip152: minor.
This commit is contained in:
parent
6c901a19fa
commit
340d4e3272
@ -565,7 +565,7 @@ function TXRequest(options) {
|
|||||||
if (!(this instanceof TXRequest))
|
if (!(this instanceof TXRequest))
|
||||||
return new TXRequest(options);
|
return new TXRequest(options);
|
||||||
|
|
||||||
this.hash = null;
|
this.hash = encoding.NULL_HASH;
|
||||||
this.indexes = [];
|
this.indexes = [];
|
||||||
|
|
||||||
if (options)
|
if (options)
|
||||||
@ -757,7 +757,7 @@ function TXResponse(options) {
|
|||||||
if (!(this instanceof TXResponse))
|
if (!(this instanceof TXResponse))
|
||||||
return new TXResponse(options);
|
return new TXResponse(options);
|
||||||
|
|
||||||
this.hash = null;
|
this.hash = encoding.NULL_HASH;
|
||||||
this.txs = [];
|
this.txs = [];
|
||||||
|
|
||||||
if (options)
|
if (options)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user