Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
109 stars 27 forks source link

bolt11 invoice missing from successful outgoing payment #358

Open danielgranhao opened 6 months ago

danielgranhao commented 6 months ago

We've noticed that very rarely, after paying an invoice, the payment struct returned by Breez SDK is missing the bolt11 invoice. We've checked, and the SDK gets it directly from GL.

We don't know how to reproduce this.

cdecker commented 6 months ago

I expect this to be an unforeseen consequence of removing the pre-splitter, which removed the simple identification of the root payment, which therefore does not get annotated. I'll see what I can do, and where the broken assumption is :-)