Closed code423n4 closed 2 years ago
pmerkleplant
The swap function in CurveModule.sol receives the argument jToken of type address. However, the variable is never used in the function and could therefore be deleted.
swap
CurveModule.sol
jToken
See line 44 in CurveModule.sol
Duplicate of #39
Handle
pmerkleplant
Vulnerability details
The
swap
function inCurveModule.sol
receives the argumentjToken
of type address. However, the variable is never used in the function and could therefore be deleted.See line 44 in CurveModule.sol