Skip to content

Commit

Permalink
fix: check max val in updateRangeKey
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrMov committed Dec 19, 2024
1 parent bd6c314 commit f3e9af0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Curator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ contract Curator {

_checkOperatorId(module, msg.sender, moduleId, operatorId);

_checkMaxValidators(moduleId, newKeysRangeStart, newKeysRangeEnd);

address operatorRewardAddress =
_checkOperatorAndGetRewardAddress(module, moduleId, operatorId, newKeysRangeStart, newKeysRangeEnd);

Expand Down

0 comments on commit f3e9af0

Please sign in to comment.