mirror of
https://github.com/zkemail/zk-regex.git
synced 2026-01-09 13:48:00 -05:00
fix: remove panic hooks
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user