From c45b49c9d931aab67b339b8fd2fddd6346a79a6e Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Mon, 10 Jun 2024 16:56:32 +0000 Subject: [PATCH] lint:fix --- packages/keyring-controller/src/KeyringController.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/keyring-controller/src/KeyringController.ts b/packages/keyring-controller/src/KeyringController.ts index 658ae4c8b55..c4200b58e77 100644 --- a/packages/keyring-controller/src/KeyringController.ts +++ b/packages/keyring-controller/src/KeyringController.ts @@ -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: