block: remove coinbase from json output.

This commit is contained in:
Christopher Jeffrey 2017-05-12 11:45:30 -07:00
parent f2f94a800e
commit 3ca70a152a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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)