block: minor.

This commit is contained in:
Christopher Jeffrey 2017-07-20 14:28:47 -07:00
parent beacd48462
commit a915545a1a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;
}; };