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

+2 -1
View File
@@ -36,7 +36,8 @@ type PaymentWriter interface {
// DeletePayments deletes all payments from the DB given the specified
// flags.
DeletePayments(failedOnly, failedAttemptsOnly bool) (int, error)
DeletePayments(ctx context.Context, failedOnly,
failedAttemptsOnly bool) (int, error)
PaymentControl
}