lightninglabs / lightninglabs/loop
payment to 1/p2pkh address should account for fees
- Dominant language
- Go
- Stars
- 595
- Forks
- 135
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 12
Description
I've made a payment using `loop out` to a 1 address. The merchant was supposed to received X amount of sats, but instead `loop out` sent `X - on chain fees`. This result in the creation of a ticket as the merchant server didn't automatically reconcile the payment because the amount he received was different.
It might work differently with 3 or bc1 addresses and the problem might not be present in those cases?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing a loop out payment to a 1/p2pkh address and compare the merchant's received amount with the requested amount after on-chain fees. Check whether payments to 3 or bc1 addresses behave differently. Done means the merchant receives the intended amount and automatic reconciliation does not create a ticket.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100