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

LendingPair.pendingSupplyInterest is not accurate #124

Open
code423n4 opened this issue Jul 14, 2021 · 0 comments
Open

LendingPair.pendingSupplyInterest is not accurate #124

code423n4 opened this issue Jul 14, 2021 · 0 comments
Labels

Comments

@code423n4
Copy link
Contributor

Handle

cmichel

Vulnerability details

The LendingPair.pendingSupplyInterest does not accrue the new interest since the last update.

Impact

The returned value is not accurate.

Recommendation

Accrue it first such that cumulativeInterestRate updates and _newInterest returns the updated value.

@code423n4 code423n4 added 1 (Low Risk) bug Something isn't working labels Jul 14, 2021
code423n4 added a commit that referenced this issue Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants