The _healthFactor
method of DSCEngine contract is preceeded by the following comment:
The comment implies that the minimal acceptable health factor for the user is equal to 1. This is not true - the MIN_HEALTH_FACTOR
constant is equal to 1e18
. Therefore this comment is misleading and in contradiction to the actual contract's logic.
n/a
n/a
Manual review
Change the value in the comment to 1e18
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.