PuppyRaffle.withdrawFees() (src/PuppyRaffle.sol#157-163) uses a dangerous strict equality when comparing the contract's balance with the total fees
The withdrawFees() function in the PuppyRaffle contract uses a strict equality check to ensure that the contract's balance is equal to the total fees before allowing the withdrawal. This could potentially be a problem if there are any discrepancies between the contract's balance and the total fees, even if they are due to reasons outside of the contract's control
fund lockup
-Slither detector
-Manual
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.