DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

`NotEnoughApprovals` is an unused custom error

Summary

it is recommended that the definition be removed when custom error is unused

Instance

  • Found in src/MultiSig.sol Line: 7

    error NotEnoughApprovals(); // Low - error not used

Impact

Tools Used

Manual Review

Recommendations

If the error NotEnoughApprovals is not in use, it's best to remove it to reduce the gas cost.

Updates

Appeal created

n0kto Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational or Gas

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.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.