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

hasZeroLTVCollateral edge case #1962

Open
defispartan opened this issue Feb 14, 2024 · 0 comments
Open

hasZeroLTVCollateral edge case #1962

defispartan opened this issue Feb 14, 2024 · 0 comments
Labels
bug Something isn't working new issue This issue has not been triaged by the core team yet

Comments

@defispartan
Copy link
Collaborator

The UI currently shows an error message where an address has a reserve enabled as collateral, but the reserve has zero LTV so collateral must be disabled before another action can be performed. However, this error only shows if the address has a non-zero balance of that reserve.

If a reserve is enabled as collateral for an address AND the reserve zero LTV AND the user balance is zero:

  • The error message should be shown in all transaction modals
  • Reserve should appear in SuppliedPositionsList to allow address to disable the reserve as collateral
@defispartan defispartan added bug Something isn't working new issue This issue has not been triaged by the core team yet labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new issue This issue has not been triaged by the core team yet
Projects
None yet
Development

No branches or pull requests

1 participant