Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Dec 16, 2024
1 parent 76e791d commit 9ac2b92
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9ac2b92

Please sign in to comment.