From 83e25ca6aad86715ce7606363207d2529dd539a8 Mon Sep 17 00:00:00 2001 From: Romashka Date: Wed, 25 Dec 2024 23:09:52 +0200 Subject: [PATCH 1/2] typo-Update proofs.ts --- packages/webapp/src/utils/zkproofs/proofs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/utils/zkproofs/proofs.ts b/packages/webapp/src/utils/zkproofs/proofs.ts index 4b957b7c..16e198f4 100644 --- a/packages/webapp/src/utils/zkproofs/proofs.ts +++ b/packages/webapp/src/utils/zkproofs/proofs.ts @@ -96,7 +96,7 @@ export async function prove( return { proof_a: proof["pi_a"].slice(0, 2), proof_b: [ - // The snarkjs-generated verifier uses a different endianess than the one used by the + // The snarkjs-generated verifier uses a different endianness than the one used by the // snarkjs-generated prover. [proof["pi_b"][0][1], proof["pi_b"][0][0]], [proof["pi_b"][1][1], proof["pi_b"][1][0]], From 5f3a73a6e4fdfbea70912ea46dfd6e4c19fa7802 Mon Sep 17 00:00:00 2001 From: Romashka Date: Wed, 25 Dec 2024 23:10:42 +0200 Subject: [PATCH 2/2] typo-Update proveInWorker.ts --- packages/webapp/src/utils/zkproofs/proveInWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/utils/zkproofs/proveInWorker.ts b/packages/webapp/src/utils/zkproofs/proveInWorker.ts index aea8d17f..0063d69a 100644 --- a/packages/webapp/src/utils/zkproofs/proveInWorker.ts +++ b/packages/webapp/src/utils/zkproofs/proveInWorker.ts @@ -18,7 +18,7 @@ import { isProofOutput, ProofCancelled, ProofOutput, ProofTimeoutError } from "s * A timeout (in seconds) can be supplied, in which case the worker will be terminated if the proof * takes longer than the timeout. If set to 0 (the default), no timeout is used. * - * In additiona to the promise, this returns a `cancel` function which can be used to terminate the + * In additional to the promise, this returns a `cancel` function which can be used to terminate the * worker (and hence cancel the proof). */ export function proveInWorker(