First Flight #18: T-Swap

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

Unused error in `PoolFactory`

Summary

PoolFactory__PoolDoesNotExist(address tokenAddress) error in PoolFactory is never used

Vulnerability Details

PoolFactory__PoolDoesNotExist(address tokenAddress) error in PoolFactory is never used

Impact

When calling getPool() the return value will be 0x0 if the pool does not exist

Tools Used

Manual review

Recommendations

You might want to throw it in getPool()

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.