As outlined in #527919, I started a test node using lnd v0.18.0-beta.rc1 so that I can play around with negative inbound fees. That's fine and a topic for another day.
On that new node I added a channel back to my main node (c-otto.de), and another channel to ACINQ just to get some connectivity. The fees are set up as follows:
- c-otto.de to lnd v.0.18.0-beta.rc1: 2000ppm
- lnd v.0.18.0-beta.rc1 to ACINQ: 1000ppm (the negative inbound fees are not relevant)
- c-otto.de to ACINQ: 500ppm
Now, if you want to reach ACINQ (or go through that node) via c-otto.de, you can
- pay 500ppm: x to c-otto.de to ACINQ
- pay 2000ppm + 1000ppm: x to c-otto.de to lnd v0.18.0-beta.rc1 to ACINQ
Strangely, I see both kinds of transactions, with more (!) sats taking the expensive detour.
Why is that?
lightning-pay
), doesn't it?