Skip to content

Commit

Permalink
Merge pull request bcoin-org#298 from nodar-chkuaselidze/fix/rpc-veri…
Browse files Browse the repository at this point in the history
…fytxoutproof

rpc: fix verifytxoutproof
  • Loading branch information
chjj authored Oct 19, 2017
2 parents 783f57e + 1c25d89 commit 9098d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http/rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 9098d4d

Please sign in to comment.