LikeRegistry.sol::withdrawFees
No Handling for Failed TransfersIf payable(owner()).call{value: totalFeesToWithdraw}("") fails, the function reverts.
If payable(owner()).call{value: totalFeesToWithdraw}("") fails, the function reverts and Funds may be lost.
The fees remain in the contract, but totalFees is already set to 0. This means:
Funds may be lost if the function is called again before fixing the issue.
Owner has no fallback option to retry the withdrawal.
Manual Review
Use a fallback mechanism instead of resetting totalFees immediately.
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.