-
Notifications
You must be signed in to change notification settings - Fork 164
Description
Describe the bug
After successfully paying an invoice, the success alert card does not display the correct value paid. I tried this with 3 different Lightning implementations (LND, C-Lightning, and Eclair) and got the same result.
For example, I created a network with the 3 LN nodes and opened channels as follows:
- Alice (LND) -> Bob (C-lightning)
- Bob (C-lightning) -> Carol (Eclair)
I then created an invoice of 1,000,000 sats using Carol and paid it using Bob. I got "sent 1 sat from bob":
I created another invoice for 20,000 using Bob and paid it with Alice. I received "sent 20 sat from alice."
Interestingly, this bug occurs when I run yarn dev
on the latest master. It is not present when I test in release 3.0.0, AFAIK.
To Reproduce
Steps to reproduce the behavior:
- Ensure you have the most current version of the master branch.
- Set up a network with multiple Lightning nodes.
- Generate an invoice with one node and pay it using another.
- Pay close attention to the success notification.
Expected behaviorThe expected outcome is to receive the accurate amount of the invoice that has been paid, in the success notification.
Screenshots
Example:
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Polar Version: 3.2.0 (latest master)
- Docker Version: 27.4.1
- Docker Compose Version: 2.32.1
Additional context
Add any other context about the problem here.