First Flight #18: T-Swap

First Flight #18
Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

In `Poolfactory::error PoolFactory__PoolDoesNotExist(address tokenAddress)` is not used anywhere

Summary

It is declared but not used in the contract

contract PoolFactory {
error PoolFactory__PoolAlreadyExists(address tokenAddress);
-->> error PoolFactory__PoolDoesNotExist(address tokenAddress);

Impact

Waste of gas and one extra line of code

Tools Used

Manual Review

Recommendations

  1. Consider removing it

Updates

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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