Trick or Treat

First Flight #27
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

`balance` state not updated in `withdrawFees()`

Summary

In the withdrawFees() function, it is expected that the balance of the SpookySwap contract be set to 0 before ether transfer will be made according to CEI but that was not the case

Vulnerability Details

Impact

Tools Used

Recommendations

The balance should be updated to zero before initiating the transfer

Updates

Appeal created

bube Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.