From c9df6beaedcd1f4f2dcadc367baaca66105297a4 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 14 Nov 2019 13:06:21 +0300 Subject: [PATCH] init fix --- src/groth16.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groth16.js b/src/groth16.js index 1752d73..ddd3989 100644 --- a/src/groth16.js +++ b/src/groth16.js @@ -250,7 +250,7 @@ async function build(params) { const copyCode = groth16_wasm.code.buffer.slice(0); initPromises.push(groth16.postAction(i, { command: "INIT", - init: wasmInitialMemory, + init: defaultParams.wasmInitialMemory, code: copyCode }, [copyCode]));