We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441cff4 commit b3df455Copy full SHA for b3df455
src/SocketRegistry.sol
@@ -13,10 +13,7 @@ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
13
contract SocketRegistry is ISocketRegistry, SocketRegistryStorage {
14
/// @notice A modifier that only allows the RegistryCoordinator to call a function
15
modifier onlySlashingRegistryCoordinator() {
16
- require(
17
- msg.sender == slashingRegistryCoordinator,
18
- OnlySlashingRegistryCoordinator()
19
- );
+ require(msg.sender == slashingRegistryCoordinator, OnlySlashingRegistryCoordinator());
20
_;
21
}
22
0 commit comments