mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-30 19:15:25 +01:00
We create the preimage on incoming invoices. If it is an internal incoming payment (meaning from one user to another user) we use that preimage and save it on the outgoing invoice. This makes sure we can give wallets the correct preimage for a payment request even though no lightning transaction happened