diff --git a/x/restaking/keeper/invariants.go b/x/restaking/keeper/invariants.go index 606a7e82..c11b7360 100644 --- a/x/restaking/keeper/invariants.go +++ b/x/restaking/keeper/invariants.go @@ -374,7 +374,7 @@ func AllowedOperatorsExistInvariant(k *Keeper) sdk.Invariant { // Iterate over all the services joined by operators var notFoundOperatorsIDs []uint32 err := k.IterateAllServicesAllowedOperators(ctx, func(serviceID uint32, operatorID uint32) (stop bool, err error) { - _, found, err := k.operatorsKeeper.GetOperator(ctx, serviceID) + _, found, err := k.operatorsKeeper.GetOperator(ctx, operatorID) if err != nil { return true, err }