Skip to content

Commit

Permalink
fix: Correct validation for assets scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Jan 27, 2025
1 parent b9066f7 commit 2d47b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snaps-utils/src/manifest/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const PermissionsStruct: Describe<InitialPermissions> = type({
'endowment:assets': optional(
mergeStructs(
HandlerCaveatsStruct,
object({ scopes: size(array(ChainIdsStruct), 1, Infinity) }),
object({ scopes: size(array(ChainIdStruct), 1, Infinity) }),
),
),
'endowment:cronjob': optional(
Expand Down

0 comments on commit 2d47b07

Please sign in to comment.