lncli: update AllPayments in deletePayments

This commit is contained in:
Mohamed Awnallah committed 2024-04-24 18:49:01 +02:00
1 parent 3364d2f2d6
commit 6e1d9b8d6a
1 file changed
+1
+1
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,
},