From 79610dfea963699b0d71d4eb3c311da8631d767b Mon Sep 17 00:00:00 2001 From: benthecarman Date: Wed, 5 Jun 2024 14:57:15 -0500 Subject: [PATCH] Remove async wasm_bindgen constructor --- mutiny-wasm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,