Description:
In Solidity, internal functions should follow the convention of using a leading underscore (_
) in their names. This helps distinguish them from external or public functions, improving readability and maintainability. In LikeRegistry.sol
, the function matchRewards
is declared as internal
, but it does not follow this naming convention.
Recommended Mitigation:
To align with best practices and improve code clarity, add an underscore (_) at the beginning of the function name.
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.