rpc: fix revHex arg in verifytxoutproof
This commit is contained in:
parent
13892b3b38
commit
1c25d8913e
@ -935,7 +935,7 @@ RPC.prototype.verifyTXOutProof = async function verifyTXOutProof(args, help) {
|
|||||||
const out = [];
|
const out = [];
|
||||||
|
|
||||||
for (const hash of tree.matches)
|
for (const hash of tree.matches)
|
||||||
out.push(util.revHex(hash));
|
out.push(util.revHex(hash.toString('hex')));
|
||||||
|
|
||||||
return out;
|
return out;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user