Merge pull request #298 from nodar-chkuaselidze/fix/rpc-verifytxoutproof
rpc: fix verifytxoutproof
This commit is contained in:
commit
9098d4dcd6
@ -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