1 matches found
SherDistributionManager.sol:calcReward() wrong conditional statement
Handle Dravee Vulnerability details Impact There's a risk of DOS if maxRewardsEndTVL tvl and zeroRewardsStartTVL tvl 110: ? zeroRewardsStartTVL - Math.maxmaxRewardsEndTVL, tvl 111: : 0; However, just above, we can see this condition: uint256 maxRewardsAvailable = maxRewardsEndTVL tvl ?...