diff --git a/lib/primitives/block.js b/lib/primitives/block.js index 955aa22f..9169d84c 100644 --- a/lib/primitives/block.js +++ b/lib/primitives/block.js @@ -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) + }) }; };