mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +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,13 +187,15 @@ func CreateRPCInvoice(invoice *invoices.Invoice,
|
|||
AmtPaidSat: int64(satAmtPaid),
|
||||
AmtPaidMsat: int64(invoice.AmtPaid),
|
||||
AmtPaid: int64(invoice.AmtPaid),
|
||||
State: state,
|
||||
Htlcs: rpcHtlcs,
|
||||
Features: CreateRPCFeatures(invoice.Terms.Features),
|
||||
IsKeysend: invoice.IsKeysend(),
|
||||
PaymentAddr: invoice.Terms.PaymentAddr[:],
|
||||
IsAmp: invoice.IsAMP(),
|
||||
IsBlinded: invoice.IsBlinded(),
|
||||
// This will be set to SETTLED if at least one of the AMP Sets
|
||||
// is settled (see below).
|
||||
State: state,
|
||||
Htlcs: rpcHtlcs,
|
||||
Features: CreateRPCFeatures(invoice.Terms.Features),
|
||||
IsKeysend: invoice.IsKeysend(),
|
||||
PaymentAddr: invoice.Terms.PaymentAddr[:],
|
||||
IsAmp: invoice.IsAMP(),
|
||||
IsBlinded: invoice.IsBlinded(),
|
||||
}
|
||||
|
||||
rpcInvoice.AmpInvoiceState = make(map[string]*lnrpc.AMPInvoiceState)
|
||||
|
|
Loading…
Add table
Reference in a new issue