Skip to content

There is an error in the calling logic of the CheckPoolHealth function when opening a position. #1217

@icehawk-hyb

Description

@icehawk-hyb

Describe:
There is an error in the calling logic of the CheckPoolHealth function when opening a position.
This will result in opening a position in an unhealthy leverage pool.

code:

Image

suggestion:
First check the health of the leverage pool, and then decide whether to open a position

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions