The LikeRegistry::matchRewards
function marked as internal was only called once by likeUser
in the contract
Reducing the number of function calls in a contract helps save gas
Manual review
Consider inlining the logic into likeUser
function. This can reduce the number of function calls and improve readability.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.