Skip to content

fix: format size to close value when clicking max (Bounty #11)#198

Open
XuanYuandp wants to merge 1 commit into
capofficial:mainfrom
XuanYuandp:fix/size-to-close-formatting
Open

fix: format size to close value when clicking max (Bounty #11)#198
XuanYuandp wants to merge 1 commit into
capofficial:mainfrom
XuanYuandp:fix/size-to-close-formatting

Conversation

@XuanYuandp
Copy link
Copy Markdown

Closes #11

When clicking the Max label to fill the size-to-close input, the raw blockchain value (with many decimal places) was used. This fix uses formatForDisplay() to properly format the value, preventing excessive decimals in the input field.

Wallet: XuanYuandp

)

When clicking the Max label to fill the size-to-close input,
use the formatted display value instead of the raw blockchain
value to prevent showing excessive decimal places in the input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Size to close is not well formatted, sometimes

1 participant