multi: thread context through FetchInflightPayments

This commit is contained in:
ziggie committed 2026-02-25 08:02:23 +01:00
1 parent 25d05be038
commit 10062ca9ac
7 files changed
+25 -16

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ type PaymentReader interface {
paymentHash lntypes.Hash) (*MPPayment, error)
// FetchInFlightPayments returns all payments with status InFlight.
FetchInFlightPayments() ([]*MPPayment, error)
FetchInFlightPayments(ctx context.Context) ([]*MPPayment, error)
}
// PaymentWriter represents the interface to write operations to the payments