multi: thread context through payment lifecyle functions
This commit is contained in:
6 files changed
+91
-54
No files matched your search
@@ -1088,11 +1088,11 @@ func (s *Server) SendToRouteV2(ctx context.Context,
|
||||
// db.
|
||||
if req.SkipTempErr {
|
||||
attempt, err = s.cfg.Router.SendToRouteSkipTempErr(
|
||||
hash, route, firstHopRecords,
|
||||
ctx, hash, route, firstHopRecords,
|
||||
)
|
||||
} else {
|
||||
attempt, err = s.cfg.Router.SendToRoute(
|
||||
hash, route, firstHopRecords,
|
||||
ctx, hash, route, firstHopRecords,
|
||||
)
|
||||
}
|
||||
if attempt != nil {
|
||||
|
||||
Reference in new issue
Block a user