routing: provide payment id to mission control

This commit is contained in:
Joost Jager
2019-06-26 11:48:59 +02:00
parent 334b6a3bfe
commit b4a7665bae
5 changed files with 14 additions and 11 deletions

View File

@ -343,7 +343,7 @@ func (p *paymentLifecycle) sendPaymentAttempt(firstHop lnwire.ShortChannelID,
func (p *paymentLifecycle) handleSendError(sendErr error) error {
final, reason := p.router.processSendError(
&p.attempt.Route, sendErr,
p.attempt.PaymentID, &p.attempt.Route, sendErr,
)
if !final {
// Save the forwarding error so it can be returned if