block: minor.

This commit is contained in:
Christopher Jeffrey 2017-07-20 01:56:06 -07:00
parent a11a1ab4ad
commit 7ef658049c
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -562,7 +562,7 @@ Block.prototype.format = function format(view, height) {
nonce: this.nonce,
txs: this.txs.map((tx, i) => {
return tx.format(view, null, i);
}, this)
})
};
};
@ -600,7 +600,7 @@ Block.prototype.getJSON = function getJSON(network, view, height) {
nonce: this.nonce,
txs: this.txs.map((tx, i) => {
return tx.getJSON(network, view, null, i);
}, this)
})
};
};