Skip to content

Commit

Permalink
bring back mobile compat wasm
Browse files Browse the repository at this point in the history
memory
  • Loading branch information
ethan-crypto committed Nov 22, 2023
1 parent afaa8fc commit 27688da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/EngineContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const SharedResourcesProvider: React.FC<
// Initialize the WASM module
const engine = await import('@ezkljs/engine/web/ezkl.js')
setEngine(engine)
await (engine as any).default()
await (engine as any).default(undefined, new WebAssembly.Memory({ initial: 20, maximum: 4096, shared: true }))
// For human readable wasm debug errors call this function
engine.init_panic_hook()
// Initialize the utils module
Expand Down

0 comments on commit 27688da

Please sign in to comment.