DatingDapp

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

Ether sent via receive() function in LikeRegistry is stuck within the contract because there is no logic implemented to withdraw the ether.

Issue

The LikeRegistry current implementation has a receive() external payable {} which lets an arbitary user send ETH directly to this contract. This just causes the sent ETH to be locked in the contract forever. If someone accidentally calls the contract with ETH that leads to permanent loss of funds. This function has no use case in the current logic of LikeRegistry so its advisable to just remove the function to avoid such accidents.

Updates

Appeal created

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

Users mistake, only impacting themselves.

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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