From 2c570a815bcbba83e2d9dc0c41878c307dd7ceee Mon Sep 17 00:00:00 2001 From: Martin Allen <31280145+martyall@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:30:01 -0700 Subject: [PATCH] actually use wasm options (#493) --- src/wtns_calculate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wtns_calculate.js b/src/wtns_calculate.js index 500f436e..f0b602f8 100644 --- a/src/wtns_calculate.js +++ b/src/wtns_calculate.js @@ -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);