LotteryMath.calculateNewProfit returns wrong profit when there is no jackpot winner
The function LotteryMath.calculateNewProfit computes the expected rewards incorrectly when there is no jackpot winner, because it multiplies the total payout by a multiplier that is already a percentage, instead of applying the percentage. This causes the net profit to be wrong, which then affects reward calculations in the Lottery contract.
Wenwin contest
High