From 187b0b1f80643ea98947a4a5818f004b0ff58ee0 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Mon, 6 May 2024 16:01:35 +0800 Subject: [PATCH] cli: add `--amp` to `SendPaymentRequest` in `payinvoice` --- cmd/lncli/cmd_payments.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/lncli/cmd_payments.go b/cmd/lncli/cmd_payments.go index 4288b0f01..a554b9dec 100644 --- a/cmd/lncli/cmd_payments.go +++ b/cmd/lncli/cmd_payments.go @@ -886,6 +886,7 @@ func payInvoice(ctx *cli.Context) error { PaymentRequest: stripPrefix(payReq), Amt: ctx.Int64("amt"), DestCustomRecords: make(map[uint64][]byte), + Amp: ctx.Bool(ampFlag.Name), } return sendPaymentRequest(ctx, req)