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 a bug where user cannot withdraw all CDP collaterals #2109

Merged
merged 2 commits into from
May 13, 2022

Conversation

syan095
Copy link
Contributor

@syan095 syan095 commented May 12, 2022

Fix a bug where user cannot withdraws all debit and collateral i debit is 0.

Now minimum collateral amount is only maintained if user does not withdraw all of its collaterals

…ystem would not allow it.

Now minimum collateral amount is only maintained if user does not withdraw all of its collaterals
@syan095 syan095 requested review from wangjj9219 and xlc May 12, 2022 23:05
xlc
xlc previously approved these changes May 12, 2022
@syan095 syan095 enabled auto-merge (squash) May 12, 2022 23:16
@syan095 syan095 merged commit 0cde62c into master May 13, 2022
@syan095 syan095 deleted the fix-cdp-minimum-collateral branch May 13, 2022 01:21
xlc pushed a commit that referenced this pull request May 13, 2022
…ystem would not allow it. (#2109)

Now minimum collateral amount is only maintained if user does not withdraw all of its collaterals

Co-authored-by: Roy Yang <roy@laminar.one>
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

Successfully merging this pull request may close these issues.

2 participants