diff --git a/lib/http/rpc.js b/lib/http/rpc.js index af59e392..4bdb0fa8 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; };