Calling conditions that would always be true
Conditions on L67 and L69 of the staking contract will always be true not withstanding
if (_balance > balance) is true then _diff will definitely be atleast 1 and the condition on L67 will always be irrelevant. Same thing applies to the next condition at L69 _ratio will always be greater than zero since _diff can never be zero
This could affect the main intention of the Developer for having those conditions there since the conditions are now irrelevant
solidity, manual review
Necessary Adjustment is needed to ensure the conditions do what they are suppose to do depending on developers intention
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.