teller-protocol / teller-protocol-v2-audit-2024

teller-protocol-v2-audit-2024
MIT License
0 stars 0 forks source link

Audit Fix #289 - retrieve original principal amount for loan when calculating incentive multiplier #41

Open ethereumdegen opened 6 months ago

ethereumdegen commented 6 months ago

using 1 instead of 8x since the loan can just be repaid anyways

rbcp18 commented 6 months ago

To calculate the incentive multiplier, the liquidation mechanism looks at the original principal of the loan