The mint() function in DebtToken is responsible for creating debt tokens when a user borrows from the lending pool. However, it emits amountToMint instead of amountScaled in the Mint event.
The contract mints amountScaled but logs amountToMint, creating mismatches in debt monitoring.
Manual Review
Modify the mint() function to emit amountScaled instead of amountToMint:
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.