mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
lncli: update AllPayments
in deletePayments
This commit is contained in:
parent
3364d2f2d6
commit
6e1d9b8d6a
@ -1783,6 +1783,7 @@ func deletePayments(ctx *cli.Context) error {
|
|||||||
what)
|
what)
|
||||||
_, err = client.DeleteAllPayments(
|
_, err = client.DeleteAllPayments(
|
||||||
ctxc, &lnrpc.DeleteAllPaymentsRequest{
|
ctxc, &lnrpc.DeleteAllPaymentsRequest{
|
||||||
|
AllPayments: includeNonFailed,
|
||||||
FailedPaymentsOnly: !includeNonFailed,
|
FailedPaymentsOnly: !includeNonFailed,
|
||||||
FailedHtlcsOnly: failedHTLCsOnly,
|
FailedHtlcsOnly: failedHTLCsOnly,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user