DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

ETH sent to LikeRegistry::receive will be forever stuck

Summary

The LikeRegistry contract has a receive function making it eligible to receive ETH directly and not only from the likeUser function. However, there is no way to ever retrieve this ETH back resulting in forever stuck funds in the contract.

Impact

Medium as it causes loss of funds.

Tools Used

Manual Review

Recommendations

Remove the receive function

Updates

Appeal created

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

invalid_receive_function

Not the best design, but if you send money accidentally, that's a user mistake. Informational.

Support

FAQs

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