routing/router: fix double hex encoding of target pubkey

This commit is contained in:
Conner Fromknecht
2019-11-05 15:04:24 -08:00
parent 7ecb7136cf
commit 0035e8b99d

View File

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