Skip to content

Commit

Permalink
lncli: update AllPayments in deletePayments
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedawnallah committed Apr 24, 2024
1 parent 3364d2f commit 6e1d9b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/lncli/cmd_payments.go
Original file line number Diff line number Diff line change
Expand Up @@ -1783,6 +1783,7 @@ func deletePayments(ctx *cli.Context) error {
what)
_, err = client.DeleteAllPayments(
ctxc, &lnrpc.DeleteAllPaymentsRequest{
AllPayments: includeNonFailed,
FailedPaymentsOnly: !includeNonFailed,
FailedHtlcsOnly: failedHTLCsOnly,
},
Expand Down

0 comments on commit 6e1d9b8

Please sign in to comment.