hi nostr:nprofile1qqs84k6jpsav0jmdeqjn2zxlpnsajaw6f8l0m2d4e9t8gjsyn53s4nspzamhxue69uhhyetvv9ujuumfv9khxarj9e3k7mgpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3vamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmnyhat8ky I found a bug in the cashu wallet integrated into 0xchat. Sometimes, when I pay a lightning invoice (with the amount specified into the invoice), I see the wrong amount displayed in the wallet at the moment of payment. Generally the amount is 1 sat less then the amount I'm paying. If I proceed with the payment, it pays the effective amount specified in the invoice, so the bug in this case affects only the UI.

Reply to this note

Please Login to reply.

Discussion

also, if I want to pay an invoice that dont have any amount specified, I cant cause the "amount field" cant be edited and it remains "0".

Hi, could you send me the invoice or let me know the amount? I tried but couldn’t reproduce the issue.

lnbc60n1pn4gp20pp52tsdddf43sf0cj4y9y3tzmzk5q6qtq8dvucr0v87a5utx4hajdfqdqdf45ku6tzd968xcqzzsxqrpcgsp53ragu5kkp3hu0j4s6d7f7hvnzjdq83m0u6g92z8wzpgrw0vg7vns9qxpqysgqq7yu8gla2eax86q2etn4dq3999cernnvsjnct0eettnwl0tg2fxxxj5q6pexvq64sukpereqnugdt4fh68f54xfefrsatjfj5sackaqqeq23tu

This is a 6 sats invoice, 0xchat shows 5.

it bugs with every "6 sats invoice",