galacticcouncil / galacticcouncil/apps

MAX button should sell all instead of current balance

Open
#175 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Currently when you click max, current balance is filled into the extrinsic which can change before the extrinsic is executed. This leads to the dust left in many account which is very hard to get rid of.

Instead with max the `sellAll` should be called instead to make sure whole balance will be cleared.

Dependent on https://github.com/galacticcouncil/sdk/issues/152

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.