mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-06 19:03:35 +01:00
In this commit, we modify the InvoiceDatabase slightly to allow the link to record what the final payment about for an invoice was. It may be the case that the invoice actually had no specified value, or that the payer paid more than necessary. As a result, it's important that our on-disk records properly reflect this. To fix this issue, the SettleInvoice method now also accepts the final amount paid. Fixes #856.
18 KiB
18 KiB