From 43242ce8e947b25e30578cd30b6a50e823ebd0b7 Mon Sep 17 00:00:00 2001 From: madlabman <10616301+madlabman@users.noreply.github.com> Date: Thu, 22 Feb 2024 13:44:40 +0100 Subject: [PATCH] fix: role for slashing name --- src/CSModule.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSModule.sol b/src/CSModule.sol index 8cdbde18..826a8439 100644 --- a/src/CSModule.sol +++ b/src/CSModule.sol @@ -1242,7 +1242,7 @@ contract CSModule is ICSModule, CSModuleBase, AccessControlEnumerable { uint256 keyIndex ) external - onlyRole(WITHDRAWAL_SUBMITTER_ROLE) + onlyRole(SLASHING_SUBMITTER_ROLE) onlyExistingNodeOperator(nodeOperatorId) { NodeOperator storage no = _nodeOperators[nodeOperatorId];