this function can be called at anyone by anytime, resulting in a 0 eth transfer call, and wasted gas.
The function does not first check if the raffle is over or if a winner has been selected.
Low impact.
A user who mistakenly calls withdrawFees will find that it does not revert, but rather that it succeeds and that they have wasted gas on a empty eth call to the feeAddress.
Manual Review
Add a conditional check to see if selectWinner has been called, in the most recent raffle, or if the intention is to allow the fees to accumulate over time, to allow only the feeAddress to be able to call the withdraw fees function.
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.