The receive
function in LikeRegistry.sol
only receives funds but does nothing with them:
Though low likelyhood, if a user calls LikeRegistry.sol
and sends funds to increase the ETH from his/her previous like, those funds will be lost forever, since they don't get considered in any functionality.
Consider making LikeRegistry::likeUser
a public function so that it can be called within the receive.
Not the best design, but if you send money accidentally, that's a user mistake. Informational.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.