Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Jun 10, 2024
1 parent 6bb7c94 commit c45b49c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/keyring-controller/src/KeyringController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,10 @@ export class KeyringController extends BaseController<
const wallet = await getWallet();
privateKey = bytesToHex(wallet.getPrivateKey());
break;
} catch(e) {
throw new Error('Key derivation failed - possibly wrong passphrase');
} catch (e) {
throw new Error(
'Key derivation failed - possibly wrong passphrase',
);
}
}
default:
Expand Down

0 comments on commit c45b49c

Please sign in to comment.