mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
invoicerpc: add clarifying comment.
This commit is contained in:
parent
c95d73c898
commit
34e56b69e9
1 changed files with 9 additions and 7 deletions
|
@ -187,6 +187,8 @@ func CreateRPCInvoice(invoice *invoices.Invoice,
|
||||||
AmtPaidSat: int64(satAmtPaid),
|
AmtPaidSat: int64(satAmtPaid),
|
||||||
AmtPaidMsat: int64(invoice.AmtPaid),
|
AmtPaidMsat: int64(invoice.AmtPaid),
|
||||||
AmtPaid: int64(invoice.AmtPaid),
|
AmtPaid: int64(invoice.AmtPaid),
|
||||||
|
// This will be set to SETTLED if at least one of the AMP Sets
|
||||||
|
// is settled (see below).
|
||||||
State: state,
|
State: state,
|
||||||
Htlcs: rpcHtlcs,
|
Htlcs: rpcHtlcs,
|
||||||
Features: CreateRPCFeatures(invoice.Terms.Features),
|
Features: CreateRPCFeatures(invoice.Terms.Features),
|
||||||
|
|
Loading…
Add table
Reference in a new issue