lnbits icon indicating copy to clipboard operation
lnbits copied to clipboard

Incorrect Fiat Amount in CSV Export

Open DoktorShift opened this issue 1 year ago • 2 comments

Bug: Incorrect Fiat Amount in CSV Export (TPoS, LNbits v1.3.1)

When exporting the wallet CSV file in TPoS (LNbits v1.3.1), the fiat amount is displayed with incorrect decimal places.

Example: A 2 € payment appears as 2001 € in the CSV export.

Tested again with two separate TPoS instances (EUR and USD) — the issue occurs in both cases.

Image

DoktorShift avatar Dec 04 '25 08:12 DoktorShift

Does it still happen with 1.4 ?

I couldn't reproduce it!

talvasconcelos avatar Dec 11 '25 09:12 talvasconcelos

I have USD selected as the wallet’s fiat currency. The invoices I create are denominated in sats (I create invoices with typos and with core)

When I download the CSV from a wallet, the sat amount is correct. However, the fiat amount is incorrect and seems inconsistent. I can’t identify any clear pattern in how the wrong fiat values are being calculated.

lnbits v1.4.1

Edit: Its more a core issue then a TPoS! @talvasconcelos we should move it.

Image

DoktorShift avatar Feb 18 '26 06:02 DoktorShift