Skip to content

Commit

Permalink
Merge pull request #98 from scolear/main
Browse files Browse the repository at this point in the history
fix: SimpleMiddleware slash function
  • Loading branch information
algys authored Dec 24, 2024
2 parents eb6fa02 + 92f1082 commit 940271b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/src/SimpleMiddleware.sol
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ contract SimpleMiddleware is SimpleKeyRegistry32, Ownable {

// simple pro-rata slasher
for (uint256 i; i < vaults.length(); ++i) {
(address vault, uint48 enabledTime, uint48 disabledTime) = operators.atWithTimes(i);
(address vault, uint48 enabledTime, uint48 disabledTime) = vaults.atWithTimes(i);

// just skip the vault if it was enabled after the target epoch or not enabled
if (!_wasActiveAt(enabledTime, disabledTime, epochStartTs)) {
Expand Down

0 comments on commit 940271b

Please sign in to comment.