The function getConvertedUnderlyingOut
does not explicitly return a value despite declaring a return type. This oversight can lead to compilation errors or unexpected behavior in the contract's execution.
The function is intended to calculate and return the amount of ripe assets converted from its unripe counterpart. However, it fails to explicitly use the return
statement to output the calculated value.
The function signature indicates that it returns a uint256
, but the function body lacks a return
statement. This is crucial in Solidity, as functions that are expected to return a value must explicitly do so.
Manual review
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.