Skip to content

Aave swap allow wrong swap #2522

@NandyBa

Description

@NandyBa

Describe the bug
Aave swap module propose some swap that must not be available. Example swaping sDAI collateral to EURe.

If asset is disabled as collateral the module must not display then or at least the swap bouton must be disabled

To Reproduce
Steps to reproduce the behavior:

Try to swap current collateral that back a loan for an asset who have LTV to 0

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnew issueThis issue has not been triaged by the core team yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions