lncli: update AllPayments in deletePayments

This commit is contained in:
Mohamed Awnallah
2024-04-22 11:50:57 +02:00
parent 3364d2f2d6
commit 6e1d9b8d6a

View File

@@ -1783,6 +1783,7 @@ func deletePayments(ctx *cli.Context) error {
what)
_, err = client.DeleteAllPayments(
ctxc, &lnrpc.DeleteAllPaymentsRequest{
AllPayments: includeNonFailed,
FailedPaymentsOnly: !includeNonFailed,
FailedHtlcsOnly: failedHTLCsOnly,
},