fix: remove panic hooks

This commit is contained in:
Dimitri
2025-02-26 17:23:13 +07:00
parent 99bb6c2327
commit 505341f16d
2 changed files with 0 additions and 10 deletions

View File

@@ -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 {

View File

@@ -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(