Skip to content

Fix a bug where user cannot withdraw all CDP collaterals#2109

Merged
syan095 merged 2 commits intomasterfrom
fix-cdp-minimum-collateral
May 13, 2022
Merged

Fix a bug where user cannot withdraw all CDP collaterals#2109
syan095 merged 2 commits intomasterfrom
fix-cdp-minimum-collateral

Conversation

@syan095
Copy link
Copy Markdown
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 requested a review from xlc May 13, 2022 01:12
@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