1 matches found
Funding.deposit() doesn't work if there is no discount set
Lines of code Vulnerability details Impact The Funding contract's deposit function uses the getAmountOut function to determine how many citadel tokens the user should receive for their deposit. But, if no discount is set, the function always returns 0. Now the deposit function tries to deposit 0...
6.8AI score
SaveExploits0
20