File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
snaps-rpc-methods/src/endowments Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,10 @@ export function getProtocolCaveatMapper(
8181
8282 const caveats = [ ] ;
8383
84- if ( value . chains ) {
84+ if ( value . scopes ) {
8585 caveats . push ( {
8686 type : SnapCaveatType . ProtocolSnapScopes ,
87- value : value . chains ,
87+ value : value . scopes ,
8888 } ) ;
8989 }
9090
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export const PermissionsStruct: Describe<InitialPermissions> = type({
207207 'endowment:protocol' : optional (
208208 mergeStructs (
209209 HandlerCaveatsStruct ,
210- object ( { chains : ProtocolScopesStruct } ) ,
210+ object ( { scopes : ProtocolScopesStruct } ) ,
211211 ) ,
212212 ) ,
213213 'endowment:lifecycle-hooks' : optional ( HandlerCaveatsStruct ) ,
You can’t perform that action at this time.
0 commit comments