Skip to content

Commit 6e1d9b8

Browse files
lncli: update AllPayments in deletePayments
1 parent 3364d2f commit 6e1d9b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/lncli/cmd_payments.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,6 +1783,7 @@ func deletePayments(ctx *cli.Context) error {
17831783
what)
17841784
_, err = client.DeleteAllPayments(
17851785
ctxc, &lnrpc.DeleteAllPaymentsRequest{
1786+
AllPayments: includeNonFailed,
17861787
FailedPaymentsOnly: !includeNonFailed,
17871788
FailedHtlcsOnly: failedHTLCsOnly,
17881789
},

0 commit comments

Comments
 (0)