rpc: minor.
This commit is contained in:
parent
1ae6205e24
commit
5e0898d920
@ -2644,7 +2644,7 @@ RPC.prototype.blockToJSON = co(function* blockToJSON(entry, block, details) {
|
|||||||
version: entry.version,
|
version: entry.version,
|
||||||
versionHex: util.hex32(entry.version),
|
versionHex: util.hex32(entry.version),
|
||||||
merkleroot: util.revHex(entry.merkleRoot),
|
merkleroot: util.revHex(entry.merkleRoot),
|
||||||
coinbase: block.txs[0].inputs[0].script,
|
coinbase: block.txs[0].inputs[0].script.toJSON(),
|
||||||
tx: txs,
|
tx: txs,
|
||||||
time: entry.ts,
|
time: entry.ts,
|
||||||
mediantime: mtp,
|
mediantime: mtp,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user