cli: revise help text for addinvoice lncli command [skip ci]

This commit is contained in:
st4rgut24 committed 2022-11-11 14:31:04 -08:00
1 parent 22fec76339
commit 8d6d1564c0
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -284,7 +284,7 @@ func AddInvoice(ctx context.Context, cfg *AddInvoiceConfig,
// We only include the amount in the invoice if it is greater than 0.
// By not including the amount, we enable the creation of invoices that
// allow the payee to specify the amount of satoshis they wish to send.
// allow the payer to specify the amount of satoshis they wish to send.
if amtMSat > 0 {
options = append(options, zpay32.Amount(amtMSat))
}
+1 -1
View File
@@ -691,7 +691,7 @@ func (r *RouterBackend) extractIntentFromSendRequest(
}
// If the amount was not included in the invoice, then we let
// the payee specify the amount of satoshis they wish to send.
// the payer specify the amount of satoshis they wish to send.
// We override the amount to pay with the amount provided from
// the payment request.
if payReq.MilliSat == nil {