multi: thread context through Fail payment functions
This commit is contained in:
10 files changed
+41
-23
No files matched your search
+3
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user