multi: thread context through Fail payment functions

This commit is contained in:
ziggie committed 2026-02-25 08:02:24 +01:00
1 parent 446300984e
commit 635a67c94a
10 files changed
+41 -23

No files matched your search

+3 -1
View File
@@ -1088,7 +1088,9 @@ func (r *ChannelRouter) sendToRoute(htlcHash lntypes.Hash, rt *route.Route,
return nil
}
return r.cfg.Control.FailPayment(paymentIdentifier, reason)
return r.cfg.Control.FailPayment(
ctx, paymentIdentifier, reason,
)
}
log.Debugf("SendToRoute for payment %v with skipTempErr=%v",