Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/webapp/src/utils/zkproofs/proofs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]],
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/src/utils/zkproofs/proveInWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down