Skip to content

Commit

Permalink
chore: fix process last queue ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
sandybradley committed Jan 21, 2024
1 parent f51485b commit cc6d6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/ProcessQueueExitsandRewards.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract ProcessQueueExitsandRewardsScript is BatchScript {
uint256 amountToProcess;
uint256 rewardsToProcess;
(,,, uint128 initAccumulatedAmount) = mevEth.withdrawalQueue(queueOffset);
for (uint256 i = queueOffset + 1; i < queueLen; i++) {
for (uint256 i = queueOffset + 1; i < queueLen + 1; i++) {
(,, uint256 amount, uint128 accumulatedAmount) = mevEth.withdrawalQueue(i);
if (accumulatedAmount - initAccumulatedAmount > payout) {
break;
Expand Down

0 comments on commit cc6d6c6

Please sign in to comment.