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

Max Repay amount discrepancy #172

Open
KeerthanaRamalingam opened this issue Oct 27, 2021 · 1 comment
Open

Max Repay amount discrepancy #172

KeerthanaRamalingam opened this issue Oct 27, 2021 · 1 comment

Comments

@KeerthanaRamalingam
Copy link

When I borrow DAI with ETH as collateral say 100 DAI,
and after some time I repay full amount, say 100.000435245 with interest. -> I got the amount from getAccountSnapshot("my address")

Even after the repay with above amount my borrowed amount still shows up, in getAccountSnapshot("my address") with much lesser amount say 0.0000035343478

I think the problem is because the time interval between call creation and transaction execution as interest is calculated based on every block. How can I over come it?

@midhuntp
Copy link

@KeerthanaRamalingam Is this issue resolved ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@midhuntp @KeerthanaRamalingam and others