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]], 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(