multi: thread context through DeletePayments

This commit is contained in:
ziggie committed 2026-02-25 08:02:19 +01:00
1 parent bc15d4bb50
commit 563a2ac9d3
6 files changed
+19 -14

No files matched your search

+1 -1
View File
@@ -1372,7 +1372,7 @@ func (p *KVStore) DeletePayment(_ context.Context, paymentHash lntypes.Hash,
// failedHtlcsOnly is set, the payment itself won't be deleted, only failed HTLC
// attempts. The method returns the number of deleted payments, which is always
// 0 if failedHtlcsOnly is set.
func (p *KVStore) DeletePayments(failedOnly,
func (p *KVStore) DeletePayments(_ context.Context, failedOnly,
failedHtlcsOnly bool) (int, error) {
var numPayments int