Skip to content

Commit

Permalink
fix p0
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrent committed Sep 4, 2024
1 parent ae59c81 commit faa406f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/p0/StRSR.sol
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,7 @@ contract StRSRP0 is IStRSR, ComponentP0, EIP712Upgradeable {
uint256 i = start;
for (; i < endId; i++) {
total += queue[i].rsrAmount;
queue[i].rsrAmount = 0;
queue[i].stakeAmount = 0;
delete queue[i];
}

// Execute accumulated withdrawals
Expand Down

0 comments on commit faa406f

Please sign in to comment.