routing: log route when payment attempt fails

This commit is contained in:
Joost Jager committed 2019-11-12 14:13:31 +01:00
1 parent 53076880f1
commit a364d2cd82
1 file changed
+2 -2
+2 -2
View File
@@ -341,8 +341,8 @@ func (p *paymentLifecycle) sendPaymentAttempt(firstHop lnwire.ShortChannelID,
return err
}
log.Debugf("Payment %x (pid=%v) successfully sent to switch",
p.payment.PaymentHash, p.attempt.PaymentID)
log.Debugf("Payment %x (pid=%v) successfully sent to switch, route: %v",
p.payment.PaymentHash, p.attempt.PaymentID, &p.attempt.Route)
return nil
}