diff --git a/app/scripts/lib/rpc-method-middleware/handlers/wallet-requestPermissions.ts b/app/scripts/lib/rpc-method-middleware/handlers/wallet-requestPermissions.ts index 6ba8e55d410e..7fe30e32ec6b 100644 --- a/app/scripts/lib/rpc-method-middleware/handlers/wallet-requestPermissions.ts +++ b/app/scripts/lib/rpc-method-middleware/handlers/wallet-requestPermissions.ts @@ -99,8 +99,7 @@ async function requestPermissionsImplementation( delete requestedPermissions[RestrictedMethods.eth_accounts]; delete requestedPermissions[PermissionNames.permittedChains]; - const hasExpectedPermissions = - Object.keys(requestedPermissions).length > 0; + const hasExpectedPermissions = Object.keys(requestedPermissions).length > 0; const hasUnexpectedRequestedPermissions = Object.keys(legacyRequestedPermissions).length > 0;