Unused parameter in ProportionalLPToken2::calcLPTokenUnderlying
function
Unused parameter bytes calldata
in ProportionalLPToken2::calcLPTokenUnderlying
function. This is the last parameter in this function which is not used or even named.
There is low impact:
You must remember to add bytes
type parameter as the last parameter to call calcLPTokenUnderlying
function (even ""
will do)
There is an impact on gas usage when calling function with and without the parameter
Bear in mind that removing the parameter will result in a different function signature.
Reading the code
Delete unused parameter:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.