cli: add --amp to SendPaymentRequest in payinvoice

This commit is contained in:
yyforyongyu committed 2024-05-06 16:01:35 +08:00
1 parent 399ea864da
commit 187b0b1f80
1 file changed
+1
+1
View File
@@ -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)