From 3ca70a152ad4f39f57769adae7d1ed9b3b312419 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 12 May 2017 11:45:30 -0700 Subject: [PATCH] block: remove coinbase from json output. --- lib/primitives/block.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/primitives/block.js b/lib/primitives/block.js index e1c31e71..e16a95e3 100644 --- a/lib/primitives/block.js +++ b/lib/primitives/block.js @@ -623,7 +623,6 @@ Block.prototype.getJSON = function getJSON(network, view, height) { ts: this.ts, bits: this.bits, nonce: this.nonce, - coinbase: this.txs[0].inputs[0].script, txs: this.txs.map(function(tx, i) { return tx.getJSON(network, view, null, i); }, this)