mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-26 00:31:32 +02:00
Merge pull request #8731 from yyforyongyu/fix-payinvoice
cli: add `--amp` to `SendPaymentRequest` in `payinvoice`
This commit is contained in:
commit
b4e4e9447a
@ -886,6 +886,7 @@ func payInvoice(ctx *cli.Context) error {
|
|||||||
PaymentRequest: stripPrefix(payReq),
|
PaymentRequest: stripPrefix(payReq),
|
||||||
Amt: ctx.Int64("amt"),
|
Amt: ctx.Int64("amt"),
|
||||||
DestCustomRecords: make(map[uint64][]byte),
|
DestCustomRecords: make(map[uint64][]byte),
|
||||||
|
Amp: ctx.Bool(ampFlag.Name),
|
||||||
}
|
}
|
||||||
|
|
||||||
return sendPaymentRequest(ctx, req)
|
return sendPaymentRequest(ctx, req)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user