rpc: fix revHex arg in verifytxoutproof

This commit is contained in:
Node 2017-08-25 15:24:54 +04:00
parent 13892b3b38
commit 1c25d8913e
No known key found for this signature in database
GPG Key ID: 8E1B4DC29040BD90

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