First Flight #17: Dussehra

Beginner FriendlyFoundryNFT
100 EXP
Submission Details
Severity: low
Invalid

Reentrancy in Dussehra.sol::withdraw()

Updates

Lead Judging Commences

Bube Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Invalid - reentrancy in withdraw

The `withdraw` function sends the given amount to Ram. If the attacker calls the `withdraw` function again before the state variable is changed, the function will revert because there are no more funds in the contract. This reentrancy has no impact for the protocol. It is recommended to follow the CEI pattern, but this is informational.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.