Skip to content

Commit

Permalink
claen-up
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovNikita committed Feb 11, 2025
1 parent f03e998 commit 1238c4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/service/mnemonicService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export const decryptWalletSecret = async (
): Promise<AccountSecret> => {
const secret = await decrypt(encryptedSecret, password);
return walletSecretFromString(secret);

throw new Error('Wallet secret not valid');
};

export const walletSecretFromString = async (secret: string): Promise<AccountSecret> => {
Expand Down

0 comments on commit 1238c4d

Please sign in to comment.