Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Valid

user won't be able to receive ether directly

Summary

lack of receive() external payable {}in contract makes it rejecting ether, if someone sent it directly. Refund won't be processed if any.

Vulnerability Details

Contract has lack of inteface support for external ether. Which will not allow receiving ether if someone is sending it like normal EOA.

Impact

user inconvience as wallets are supposed to receive ether directly

Tools Used

Manual Review

Recommendations

Add a function to receive ether as show below -

receive() external payable {}
Updates

Lead Judging Commences

bube Lead Judge 12 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Missing receive function

Support

FAQs

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