routing: report failures to mission control directly
As there is no more state kept in the payment session, failure reporting can go straight to mission control.
This commit is contained in:
3 files changed
+18
-85
No files matched your search
@@ -343,7 +343,7 @@ func (p *paymentLifecycle) sendPaymentAttempt(firstHop lnwire.ShortChannelID,
|
||||
func (p *paymentLifecycle) handleSendError(sendErr error) error {
|
||||
|
||||
final, reason := p.router.processSendError(
|
||||
p.paySession, &p.attempt.Route, sendErr,
|
||||
&p.attempt.Route, sendErr,
|
||||
)
|
||||
if !final {
|
||||
// Save the forwarding error so it can be returned if
|
||||
|
||||
Reference in new issue
Block a user