Skip to content

Do not round up pool token balance #131

Open
@jo-elimu

Description

@jo-elimu

The UI at https://rewards.elimu.ai/sushiswap for depositing pool tokens might in some cases display a larger number than the actual balance.

Example: The UI shows 53.64 and the user copies that number into the amount field:

Image

While the exact balance might be slightly lower (53.638):

Image

Fix this by rounding down instead of up. So in the example above, the UI should display the number 53.63 instead of 53.64.

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