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

+3 -1
View File
@@ -741,7 +741,9 @@ func fetchPaymentStatus(bucket kvdb.RBucket) (PaymentStatus, error) {
}
// FetchInFlightPayments returns all payments with status InFlight.
func (p *KVStore) FetchInFlightPayments() ([]*MPPayment, error) {
func (p *KVStore) FetchInFlightPayments(_ context.Context) ([]*MPPayment,
error) {
var (
inFlights []*MPPayment
start = time.Now()