First Flight #18: T-Swap

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

Unused variable poolTokenReserves

Summary

Remove unused variable

Vulnerability Details

In TSwapPool.deposit() the variable poolTokenReserves is declared but not used.
It does an external call which is extra gas paid by the user.

Impact

Extra gas cost.

Tools Used

foundry

Recommendations

Remove the unused variable.

Updates

Appeal created

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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