WithdrawFees function has a check for balance of the contract is equal to the totalFees to allow withdrawing. This makes no sense as totalFees are already separated than the refund round. Anyone can front run the withdrawFees function by entering the raffle or just by self destructing another contract and increasing the balance of the contract, preventing to withdraw the fees.
Possibility of not being able to withdraw the fees
As the new round's fees are not assigned before the round is over, there is no need to check if totalFees is equal to contract balance. removing this check will solve the issue.
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.