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: