Skip to content

Commit

Permalink
refactor: remove operatorSetEnabled as require
Browse files Browse the repository at this point in the history
  • Loading branch information
8sunyuan committed Feb 5, 2025
1 parent d0f40bd commit bf0bff8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RegistryCoordinator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ contract RegistryCoordinator is RegistryCoordinatorStorage {

/// @inheritdoc IRegistryCoordinator
function disableM2QuorumRegistration() external onlyOwner {
require(operatorSetsEnabled, OperatorSetsNotEnabled());
require(!isM2QuorumRegistrationDisabled, M2QuorumRegistrationIsDisabled());

isM2QuorumRegistrationDisabled = true;
Expand Down

0 comments on commit bf0bff8

Please sign in to comment.