From 1c25d8913ef8bddf006c28df1e4fcfde02af8a50 Mon Sep 17 00:00:00 2001 From: Node Date: Fri, 25 Aug 2017 15:24:54 +0400 Subject: [PATCH] rpc: fix revHex arg in verifytxoutproof --- 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 3d3a4c6b..1739672e 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -935,7 +935,7 @@ RPC.prototype.verifyTXOutProof = async function verifyTXOutProof(args, help) { const out = []; for (const hash of tree.matches) - out.push(util.revHex(hash)); + out.push(util.revHex(hash.toString('hex'))); return out; };