Skip to content

Commit b59aeed

Browse files
committed
readme
1 parent f7ad946 commit b59aeed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ it("proves and verifies on-chain", async () => {
101101
const input = { x: 1, y: 2 };
102102
const { witness } = await noir.execute(input);
103103
const { proof, publicInputs } = await backend.generateProof(witness, {
104-
keccak: true,
104+
keccakZK: true,
105105
});
106106
// it matches because we marked y as `pub` in `main.nr`
107107
expect(BigInt(publicInputs[0])).to.eq(BigInt(input.y));
@@ -117,7 +117,7 @@ it("proves and verifies on-chain", async () => {
117117
proof,
118118
publicInputs: [String(input.y)],
119119
},
120-
{ keccak: true },
120+
{ keccakZK: true },
121121
);
122122
expect(resultJs).to.eq(true);
123123
});

0 commit comments

Comments
 (0)