Skip to content

Commit 5808ffe

Browse files
committed
forgotten file
1 parent 4f124a1 commit 5808ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snaps-rpc-methods/src/permissions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const filterRemovedPermissions = (
2727
initialPermission: [string, unknown],
2828
) => {
2929
const [value] = initialPermission;
30-
return REMOVED_PERMISSIONS.some((permission) => permission === value);
30+
return !REMOVED_PERMISSIONS.some((permission) => permission === value);
3131
};
3232

3333
/**

0 commit comments

Comments
 (0)