Skip to content

Default Input Amount wrong in AmountInput.js #124

@Lord-of-Codes

Description

@Lord-of-Codes

On the reward calculator page, the default input amount shown for an account with non-zero available balance is 1000 WND. Clicking the max button makes it 0.

Screenshot from 2021-09-12 14-36-53

This is the account balance details:
5DUSGtXJpF4gbnyHrcdq7YWM24MBW2QFRh88xeVt1QJktm8S
Screenshot from 2021-09-12 14-41-04

How should cases be handled for accounts which have funds locked, reserved, available and unbonding simultaneously at once?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions