Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit d4c1929

Browse files
Merge pull request #1198 from MutinyWallet/rm-constructor
Remove async wasm_bindgen constructor
2 parents 3e1da82 + 79610df commit d4c1929

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mutiny-wasm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl MutinyWallet {
8282
/// Creates a new [MutinyWallet] with the given parameters.
8383
/// The mnemonic seed is read from storage, unless one is provided.
8484
/// If no mnemonic is provided, a new one is generated and stored.
85-
#[wasm_bindgen(constructor)]
85+
#[wasm_bindgen]
8686
#[allow(clippy::too_many_arguments)]
8787
pub async fn new(
8888
password: Option<String>,

0 commit comments

Comments
 (0)