Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: GUI does not take the decimal point into account when showing the Taproot Assets balance #986

Open
yo-mr-white opened this issue Aug 24, 2024 · 2 comments
Labels
bug Something isn't working up for grabs Anyone can work on this

Comments

@yo-mr-white
Copy link

If I mint a new Taproot Asset from the command line and use a decimal point:

tapcli assets mint --type normal --name beefbux --supply 1000000 --decimal_display 3 --meta_bytes '{"hello":true}' --meta_type json --new_grouped_asset

In the GUI, this fact is not taken into account, and instead of displaying 1000.000, it shows 1000000.

See the details in the help section:

--decimal_display value the number of decimal places, asset amounts, are shift to the left converting asset integer amountsinto UI-recognizable fractional quantity (e.g. an asset with amount100 and decimal display of 2 is displayed as 1.00 in the wallet) (default: 0)

It’s a minor issue, so just FYI.

@yo-mr-white yo-mr-white added the bug Something isn't working label Aug 24, 2024
@jamaljsr
Copy link
Owner

Thanks for the bug report. You are correct, Polar should display the amount based on the decimal_display value.

@jamaljsr
Copy link
Owner

This is resolved in #1040.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working up for grabs Anyone can work on this
Projects
None yet
Development

No branches or pull requests

2 participants