Skip to content

Commit

Permalink
https://github.com/sherlock-audit/2023-03-Y2K-judging/issues/293
Browse files Browse the repository at this point in the history
  • Loading branch information
3xHarry committed May 6, 2023
1 parent 638a181 commit dee8c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/Carousel/Carousel.sol
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ contract Carousel is VaultV2 {
uint256 relayerFeeInShares = previewAmountInShares(queue[index].epochId, relayerFee);

// skip the rollover for the user if the assets cannot cover the relayer fee instead of revert.
if (queue[index].assets < relayerFeeInShares) {
if (queue[index].assets <= relayerFeeInShares) {
index++;
continue;
}
Expand Down

0 comments on commit dee8c04

Please sign in to comment.