Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/03/09 12:00 a.m.15 views

Calculation in calculateNewProfit function is broken when jackpot is not won

Lines of code Vulnerability details The function calculateNewProfit present in the LotteryMath library is used when finalizing the current draw in the Lottery to track and update the currentNetProfit variable in the contract. function calculateNewProfit int256 oldProfit, uint256 ticketsSold,...

6.7AI score
SaveExploits0
Rows per page
Query Builder