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

When TPOS currency is set to "sats" the total invoice amount is incorrect #107

Closed
CabtonWithaK opened this issue Nov 2, 2024 · 1 comment
Assignees

Comments

@CabtonWithaK
Copy link

When the TPOS currency is set to sats, it seems all amounts >10 get a an additional decimal when invoiced. The added decimal is added after the first decimal

See prt screen attached

10 sats becomes 100 sats (lnbits_TPOS_issue_sats_10x_a.png)
50 sats becomes 500 sats (lnbits_TPOS_issue_sats_10x_b.png)
12 sats becomes 102 sats (!?) (lnbits_TPOS_issue_sats_10x_c.png)
8 sats remains 8 sats (expected and correct behaviour) (lnbits_TPOS_issue_sats_10x_d.png)
34 sats becomes 304 sats (!?) (lnbits_TPOS_issue_sats_10x_d.png)

lnbits_TPOS_issue_sats_10x_d
lnbits_TPOS_issue_sats_10x_c
lnbits_TPOS_issue_sats_10x_b
lnbits_TPOS_issue_sats_10x_a
lnbits_TPOS_issue_sats_10x_e

@talvasconcelos
Copy link
Collaborator

Fixed in 0.7.2

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

No branches or pull requests

2 participants