Recommendation: Modify the calculation in the generateReport () function to fix the underflow issue described above, for example, by adding an if condition to first check whether withdrawal.Amount is less than 32 ETH before performing the subtraction.
Categories

