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

Hard Audit: decrement total borrowed on liquidation #823

Merged
merged 6 commits into from
Feb 12, 2021

Conversation

denalimarsh
Copy link
Contributor

Decrement total borrowed instead of increment it when an auction starts

@denalimarsh denalimarsh added the R4R When a PR is ready for review label Feb 12, 2021
x/hard/keeper/liquidation.go Outdated Show resolved Hide resolved
@denalimarsh
Copy link
Contributor Author

Pushed requested revisions, incorporating the relevant code changes from #820. I also extended the DecrementTotalBorrowed safe subtraction approach to DecrementTotalSupplied as well.

@karzak karzak merged commit a5b7236 into master Feb 12, 2021
@karzak karzak deleted the dm-decrement-borrow-on-liquidation branch February 12, 2021 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R4R When a PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants