diff --git a/lib/http/rpc.js b/lib/http/rpc.js index cc0f4400..3ae80147 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -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)); }