Skip to content

Commit

Permalink
block: minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jul 20, 2017
1 parent a11a1ab commit 7ef6580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/primitives/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
};
};

Expand Down Expand Up @@ -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)
})
};
};

Expand Down

0 comments on commit 7ef6580

Please sign in to comment.