In the _calculateHealthFactor
method, a magic number 1e18
is used in the calculation:
The best practice is to use constant variable instead of magic number for code readability.
n/a
n/a
Manual review
Replace the magic number 1e18
with the constant variable PRECISION
.
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.