The totalSupply
returned is incorrect
The totalSupply returned the supply of the DebtToken
However this implementation is wrong and will return the wrong total supply due to a wrong calculation.(It should be multiplied instead of divided.)
The totalSupply
is incorrect and will lead to incorrect state update like the reserve.totalUsage
Manual review
Fix it as follows.
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.