Open code423n4 opened 2 years ago
isWithinDeviationThreshold
a
0
Per the judge @jack-the-pug, the second issue in this report is being upgraded to Medium, and set as a duplicate of issue #58 .
Please see issue #127 for details.
QA
isWithinDeviationThreshold
ifa
is zero. This only seems to be the case if the oracle would return0
for CPI and in this case, something is wrong anyway. Should still handle this error more gracefully.