Skip to content

Commit f3bf7ed

Browse files
committed
refactor: x to key
1 parent 458f9dd commit f3bf7ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/proof-system/verification-key.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class VerificationKey extends Struct({
2929
});
3030
}
3131

32-
static async checkValidity(x: VerificationKey): Promise<boolean> {
32+
static async checkValidity(key: VerificationKey): Promise<boolean> {
3333
try {
3434
let { runAndCheckSync } = await synchronousRunners();
3535

3636
runAndCheckSync(() => {
37-
let vk = Pickles.sideLoaded.vkToCircuit(() => x.data);
37+
let vk = Pickles.sideLoaded.vkToCircuit(() => key.data);
3838
let inCircuitHash = inCircuitVkHash(vk);
39-
inCircuitHash.assertEquals(x.hash);
39+
inCircuitHash.assertEquals(key.hash);
4040
});
4141
return true;
4242
} catch {

0 commit comments

Comments
 (0)