routing: log route when payment attempt fails

This commit is contained in:
Joost Jager 2019-11-11 12:27:24 +01:00
parent 53076880f1
commit a364d2cd82
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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
}