Merge pull request #298 from nodar-chkuaselidze/fix/rpc-verifytxoutproof

rpc: fix verifytxoutproof
This commit is contained in:
Christopher Jeffrey (JJ) 2017-10-18 22:25:50 -07:00 committed by GitHub
commit 9098d4dcd6

View File

@ -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;
};