Skip to content

Commit 0214b79

Browse files
committed
fix: remove unnecessary check
1 parent 9c73e50 commit 0214b79

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/RegistryCoordinator.sol

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,9 @@ contract RegistryCoordinator is SlashingRegistryCoordinator, RegistryCoordinator
187187
// filter out M2 quorums from the quorum numbers
188188
uint256 operatorSetBitmap =
189189
quorumNumbers.orderedBytesArrayToBitmap().minus(m2QuorumBitmap());
190-
if (!operatorSetBitmap.isEmpty()) {
191-
// call the parent _forceDeregisterOperator function for operator sets quorums
192-
super._forceDeregisterOperator(operator, operatorSetBitmap.bitmapToBytesArray());
193-
}
190+
191+
// call the parent _forceDeregisterOperator function for operator sets quorums
192+
super._forceDeregisterOperator(operator, operatorSetBitmap.bitmapToBytesArray());
194193
}
195194

196195
/// @dev Hook to prevent any new quorums from being created if operator sets are not enabled

0 commit comments

Comments
 (0)