From 7ef658049c0478933a51926d653a0de7198948bd Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 20 Jul 2017 01:56:06 -0700 Subject: [PATCH] block: minor. --- lib/primitives/block.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) + }) }; };