bip152: fix passing of _valid.
This commit is contained in:
parent
f8c3f37f0c
commit
89d6d73257
@ -311,7 +311,6 @@ CompactBlock.prototype.toBlock = function toBlock() {
|
|||||||
block.totalTX = this.totalTX;
|
block.totalTX = this.totalTX;
|
||||||
block.txs = new Array(this.ptx.length);
|
block.txs = new Array(this.ptx.length);
|
||||||
block._hash = this._hash;
|
block._hash = this._hash;
|
||||||
block._valid = this._valid;
|
|
||||||
|
|
||||||
for (i = 0; i < this.available.length; i++) {
|
for (i = 0; i < this.available.length; i++) {
|
||||||
tx = this.available[i];
|
tx = this.available[i];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user