Merge pull request #8731 from yyforyongyu/fix-payinvoice

cli: add `--amp` to `SendPaymentRequest` in `payinvoice`
This commit is contained in:
Oliver Gugger authored and GitHub committed 2024-05-06 11:20:07 +02:00
commit b4e4e9447a
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)