block: remove coinbase from json output.
This commit is contained in:
parent
f2f94a800e
commit
3ca70a152a
@ -623,7 +623,6 @@ Block.prototype.getJSON = function getJSON(network, view, height) {
|
|||||||
ts: this.ts,
|
ts: this.ts,
|
||||||
bits: this.bits,
|
bits: this.bits,
|
||||||
nonce: this.nonce,
|
nonce: this.nonce,
|
||||||
coinbase: this.txs[0].inputs[0].script,
|
|
||||||
txs: this.txs.map(function(tx, i) {
|
txs: this.txs.map(function(tx, i) {
|
||||||
return tx.getJSON(network, view, null, i);
|
return tx.getJSON(network, view, null, i);
|
||||||
}, this)
|
}, this)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user