Merge pull request #8731 from yyforyongyu/fix-payinvoice

cli: add `--amp` to `SendPaymentRequest` in `payinvoice`
This commit is contained in:
Oliver Gugger 2024-05-06 11:20:07 +02:00 committed by GitHub
commit b4e4e9447a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)