From 5e0898d920454d5c6aed9737560b593d3727ae3a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 12 May 2017 23:15:08 -0700 Subject: [PATCH] rpc: minor. --- lib/http/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/rpc.js b/lib/http/rpc.js index a21efaec..2de21437 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -2644,7 +2644,7 @@ RPC.prototype.blockToJSON = co(function* blockToJSON(entry, block, details) { version: entry.version, versionHex: util.hex32(entry.version), merkleroot: util.revHex(entry.merkleRoot), - coinbase: block.txs[0].inputs[0].script, + coinbase: block.txs[0].inputs[0].script.toJSON(), tx: txs, time: entry.ts, mediantime: mtp,