Uint256 variable maxdeviation is checked to be not less than zero but uint256 can't be less than zero
In function addTokenMaxDeviation
where maxDeviation
has type uint256
there is condition maxDeviation < 0
This condition is always false as maxDeviation can't be less than 0
Gas spent for useless check as well as for error Errors.TokenPriceFeedMaxDeviationMustBeGreaterOrEqualToZero storing
Do not check unsigned variables to be < 0
Redundant check on maxDelay and/or maxDeviation in ARBOracle
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.