trustline-inc / probity

A transparent asset-based lending protocol implemented for the EVM.
https://docs.trustline.co
Other
3 stars 1 forks source link

Only reduce lendingPoolprincipal after user has paid back all the interest #360

Closed shine2lay closed 2 years ago

shine2lay commented 2 years ago

If we reduce lendingPoolPrincipal everytime user has repaid, it will reach zero before user has paid back all normalized debt