pull down to refresh
33 sats \ 1 reply \ @Filiprogrammer 24 Oct \ on: We're so early, LND doesn't even support loopback lightning
Does anything speak against decoding the invoice and checking whether the payee public key is the same as the public key of the own node and then just not doing a payment through LND, but instead just moving around some numbers in the internal database?
And to prevent anyone else from paying the invoice afterwards, you can use the CancelInvoice RPC call: https://api.lightning.community/api/lnd/invoices/cancel-invoice/index.html