Since there is a receive()
function in the LikeRegistry
contract, a user can accidentally send ether
to the contract.
This can result in the loss of user funds directly sent to the LikeRegistry
contract.
Remove the receive()
function from the LikeRegistry
contract as it's not supposed to receive funds directly, just via the LikeRegistry::likeUser
function which is already payable
and can receive ether
successfully.
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.