mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
Merge pull request #8731 from yyforyongyu/fix-payinvoice
cli: add `--amp` to `SendPaymentRequest` in `payinvoice`
This commit is contained in:
commit
b4e4e9447a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue