Skip to content

Commit

Permalink
options -> wtnsCalcOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub committed Aug 30, 2024
1 parent 78a6e8e commit 0289b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groth16_fullprove.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import wtns_calculate from "./wtns_calculate.js";
import {utils} from "ffjavascript";
const {unstringifyBigInts} = utils;

export default async function groth16FullProve(_input, wasmFile, zkeyFileName, logger, options) {
export default async function groth16FullProve(_input, wasmFile, zkeyFileName, logger, wtnsCalcOptions) {
const input = unstringifyBigInts(_input);

const wtns= {
type: "mem"
};
await wtns_calculate(input, wasmFile, wtns, options);
await wtns_calculate(input, wasmFile, wtns, wtnsCalcOptions);
return await groth16_prove(zkeyFileName, wtns, logger);
}

0 comments on commit 0289b3a

Please sign in to comment.