@@ -220,14 +220,14 @@ contract RegistryCoordinator is RegistryCoordinatorStorage {
220
220
bool [] memory doesNotMeetStakeThreshold =
221
221
stakeRegistry.updateOperatorsStake (operators, operatorIds, quorumNumber);
222
222
223
- for (uint256 j = 0 ; j < operators.length ; ++ j ) {
223
+ for (uint256 i = 0 ; i < operators.length ; ++ i ) {
224
224
bool isM2Quorum = _isM2Quorum (quorumNumber);
225
225
bool registeredInCore;
226
226
// If its an operatorSet quorum, its possible for registeredInCore to be true/false
227
227
// so check for operatorSet inclusion in the AllocationManager
228
228
if (! isM2Quorum) {
229
229
registeredInCore = allocationManager.isMemberOfOperatorSet (
230
- operators[j ], OperatorSet ({avs: accountIdentifier, id: uint32 (quorumNumber)})
230
+ operators[i ], OperatorSet ({avs: accountIdentifier, id: uint32 (quorumNumber)})
231
231
);
232
232
}
233
233
@@ -238,11 +238,11 @@ contract RegistryCoordinator is RegistryCoordinatorStorage {
238
238
// callback succeed here in `deregisterOperator` due to out of gas errors. If that is the case,
239
239
// we need to deregister the operator from the OperatorSet in this contract
240
240
bool shouldDeregister =
241
- doesNotMeetStakeThreshold[j ] || (! registeredInCore && ! isM2Quorum);
241
+ doesNotMeetStakeThreshold[i ] || (! registeredInCore && ! isM2Quorum);
242
242
243
243
if (shouldDeregister) {
244
244
_deregisterOperator ({
245
- operator: operators[j ],
245
+ operator: operators[i ],
246
246
quorumNumbers: singleQuorumNumber,
247
247
shouldForceDeregister: registeredInCore
248
248
});
0 commit comments