Skip to content

Commit

Permalink
actually use wasm options (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Aug 15, 2024
1 parent 5ef268a commit 2c570a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wtns_calculate.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default async function wtnsCalculate(_input, wasmFileName, wtnsFileName,
const wasm = await fdWasm.read(fdWasm.totalSize);
await fdWasm.close();

const wc = await WitnessCalculatorBuilder(wasm);
const wc = await WitnessCalculatorBuilder(wasm, options);
if (wc.circom_version() == 1) {
const w = await wc.calculateBinWitness(input);

Expand Down

0 comments on commit 2c570a8

Please sign in to comment.