min and max answers which should be accepted are not
In the getPrice
function, there is a call to the aggregator to retrieve the min and max answer.
the min and max answer are the lowest and highest amounts that should be accepted.
However the if statement directly after this call incorrectly handles the case.
as you can see above the if statement uses <= and >= when it should actually just use < >. Because we are reverting at answers which are acceptable. the min and max are values that are still acceptable and should not be excluded.
getPrice function will revert with acceptable min and max answer.
Manual Review
change the <= and >= ,to < and >
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.