rpc: fix verifytxoutproof.
This commit is contained in:
parent
6ca3a3fda6
commit
5bde338a53
@ -971,8 +971,8 @@ RPC.prototype.verifyTXOutProof = co(function* verifyTXOutProof(args, help) {
|
||||
if (!entry)
|
||||
throw new RPCError(errs.MISC_ERROR, 'Block not found in chain.');
|
||||
|
||||
for (i = 0; i < block.matches.length; i++) {
|
||||
hash = block.matches[i];
|
||||
for (i = 0; i < block.tree.matches.length; i++) {
|
||||
hash = block.tree.matches[i];
|
||||
out.push(util.revHex(hash));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user