The DeliveryPlace::getOfferInfo
function expects return values, but no return statement is provided.
As per the function definition we can understand that it is supposed to fetch the offer information. The following parameters are fetched and is to be returned when the function is called :
The function fetches the parameters in the function body, but doesn't return the fetched values. As there is no return statement present.
link to code
In solidity when a function expects a return value and no return statement is provided, function will return default values for all parameters that is expected to be returned. And the offer info returned will be wrong everytime.
Manual review
Implement return
statement to return the expected parameters.
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.