From 0266b8b0d7cae4f0c02cbb15c9b22d2e961546f5 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 2 Sep 2025 13:41:57 -0700 Subject: [PATCH] Formatting. --- src/lib/wallet/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/wallet/create.ts b/src/lib/wallet/create.ts index 34258e9..2aec6fe 100644 --- a/src/lib/wallet/create.ts +++ b/src/lib/wallet/create.ts @@ -27,7 +27,7 @@ export async function _create (wallet: Wallet, vault: Vault, password: unknown, } } else { if (typeof password !== 'string') { - throw new TypeError('Invalid password', { cause: typeof password }) + throw new TypeError('Password must be a string') } if (mnemonicSalt !== undefined && typeof mnemonicSalt !== 'string') { throw new TypeError('Mnemonic salt must be a string') -- 2.47.3