Skip to content

Commit

Permalink
Merge pull request #90 from zkemail/dimidumo/remove_panic_hook
Browse files Browse the repository at this point in the history
Dimidumo/remove panic hook
  • Loading branch information
DimiDumo authored Feb 26, 2025
2 parents 8ae338c + 505341f commit f2a19e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions packages/apis/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ use serde_json::Value;
use std::panic;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(start)]
pub fn init_panic_hook() {
panic::set_hook(Box::new(console_error_panic_hook::hook));
}

#[wasm_bindgen]
#[allow(non_snake_case)]
pub fn padString(str: &str, paddedBytesSize: usize) -> Array {
Expand Down
5 changes: 0 additions & 5 deletions packages/compiler/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ use wasm_bindgen::prelude::*;

use self::circom::gen_circom_string;

#[wasm_bindgen(start)]
pub fn init_panic_hook() {
panic::set_hook(Box::new(console_error_panic_hook::hook));
}

#[wasm_bindgen]
#[allow(non_snake_case)]
pub fn genFromDecomposed(
Expand Down

0 comments on commit f2a19e4

Please sign in to comment.