diff --git a/routing/router.go b/routing/router.go index 1aa9d58bb..1353b99e5 100644 --- a/routing/router.go +++ b/routing/router.go @@ -968,7 +968,7 @@ func (r *ChannelRouter) SendPayment(payment *LightningPayment) ([32]byte, *Route preImage, sendError = r.cfg.SendToSwitch(firstHop, htlcAdd) if sendError != nil { log.Errorf("Attempt to send payment %x failed: %v", - payment.PaymentHash, err) + payment.PaymentHash, sendError) continue }