Skip to content

Commit

Permalink
Merge pull request #4 from genki/avoid_error
Browse files Browse the repository at this point in the history
fix: Removed unnecessary instantiation
  • Loading branch information
blake-regalia authored Nov 7, 2023
2 parents 469a200 + ae2660e commit 8a1751d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/api/secp256k1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ export const WasmSecp256k1 = async(
d_wasm = await WebAssembly.instantiate(z_src as BufferSource, g_imports);
}

await WebAssembly.instantiate(z_src, g_imports);

// create the libsecp256k1 exports struct
const g_wasm = map_wasm_exports<
Secp256k1WasmCore
Expand Down

0 comments on commit 8a1751d

Please sign in to comment.