Skip to content

Commit

Permalink
fix: remove unused block
Browse files Browse the repository at this point in the history
  • Loading branch information
8sunyuan committed Jan 23, 2025
1 parent c462c88 commit 3cdcfd9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/RegistryCoordinator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,6 @@ contract RegistryCoordinator is SlashingRegistryCoordinator, IRegistryCoordinato
serviceManager.registerOperatorToAVS(msg.sender, operatorSignature);
emit OperatorRegistered(msg.sender, operatorId);
}

// If the operator kicked is not registered for any quorums, update their status
// and deregister them from the AVS via the EigenLayer core contracts
if (_operatorInfo[operatorKickParams[0].operator].status != OperatorStatus.REGISTERED) {
_operatorInfo[operatorKickParams[0].operator].status = OperatorStatus.DEREGISTERED;
serviceManager.deregisterOperatorFromAVS(operatorKickParams[0].operator);
emit OperatorDeregistered(operatorKickParams[0].operator, operatorId);
}
}

/// @inheritdoc IRegistryCoordinator
Expand Down

0 comments on commit 3cdcfd9

Please sign in to comment.