Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix interest repayments #2060

Closed
hieronx opened this issue Apr 2, 2024 · 1 comment
Closed

Fix interest repayments #2060

hieronx opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hieronx
Copy link
Contributor

hieronx commented Apr 2, 2024

https://github.com/centrifuge/apps/blob/main/centrifuge-app/src/pages/Loan/RepayForm.tsx#L66 this should use the portfolio RT API to get the outstanding principal + interest, then first repay the interest entirely including a small margin, and only then repay any principal

@hieronx hieronx added the bug Something isn't working label Apr 2, 2024
@annamehr
Copy link
Collaborator

annamehr commented Apr 5, 2024

Merged into #2071

@annamehr annamehr closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants