diff --git a/mutiny-wasm/src/lib.rs b/mutiny-wasm/src/lib.rs index de371ae0f..9428c8716 100644 --- a/mutiny-wasm/src/lib.rs +++ b/mutiny-wasm/src/lib.rs @@ -82,7 +82,7 @@ impl MutinyWallet { /// Creates a new [MutinyWallet] with the given parameters. /// The mnemonic seed is read from storage, unless one is provided. /// If no mnemonic is provided, a new one is generated and stored. - #[wasm_bindgen(constructor)] + #[wasm_bindgen] #[allow(clippy::too_many_arguments)] pub async fn new( password: Option,