block: minor.
This commit is contained in:
parent
beacd48462
commit
a915545a1a
@ -616,8 +616,8 @@ Block.prototype.fromJSON = function fromJSON(json) {
|
|||||||
|
|
||||||
this.parseJSON(json);
|
this.parseJSON(json);
|
||||||
|
|
||||||
for (let i = 0; i < json.txs.length; i++)
|
for (let tx of json.txs)
|
||||||
this.txs.push(TX.fromJSON(json.txs[i]));
|
this.txs.push(TX.fromJSON(tx));
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user