From 0035e8b99d4a91251dd94531777bd235f1ee3f65 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Tue, 5 Nov 2019 15:04:24 -0800 Subject: [PATCH] routing/router: fix double hex encoding of target pubkey --- routing/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/router.go b/routing/router.go index ceacd351..09c259e2 100644 --- a/routing/router.go +++ b/routing/router.go @@ -1404,7 +1404,7 @@ func (r *ChannelRouter) FindRoute(source, target route.Vertex, finalCLTVDelta = finalExpiry[0] } - log.Debugf("Searching for path to %x, sending %v", target, amt) + log.Debugf("Searching for path to %v, sending %v", target, amt) // We can short circuit the routing by opportunistically checking to // see if the target vertex event exists in the current graph. @@ -1847,7 +1847,7 @@ func (r *ChannelRouter) tryApplyChannelUpdate(rt *route.Route, // Apply channel update. if !r.applyChannelUpdate(update, errSource) { - log.Debugf("Invalid channel update received: node=%x", + log.Debugf("Invalid channel update received: node=%v", errVertex) }