TwentyOne

First Flight #29
Beginner FriendlyGameFiFoundrySolidity
100 EXP
View results
Submission Details
Severity: high
Valid

Funds are locked in the contract if player does not win

Summary

There are no way to withdraw funds from the contract.

Vulnerability Details

The contract does not provide any function to withdraw funds. That means that if there are any funds remaining, then it is not possible to withdraw them.

Impact

All remaining funds in the contract are locked there.

Tools Used

Manual review.

Recommendations

Consider to add function to withdraw funds to the contract owner (also this solution requires to add owner support t the contract).

Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Owner has no method to withdraw

Support

FAQs

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