routing/router: fix double hex encoding of target pubkey
This commit is contained in:
parent
7ecb7136cf
commit
0035e8b99d
@ -1404,7 +1404,7 @@ func (r *ChannelRouter) FindRoute(source, target route.Vertex,
|
|||||||
finalCLTVDelta = finalExpiry[0]
|
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
|
// We can short circuit the routing by opportunistically checking to
|
||||||
// see if the target vertex event exists in the current graph.
|
// 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.
|
// Apply channel update.
|
||||||
if !r.applyChannelUpdate(update, errSource) {
|
if !r.applyChannelUpdate(update, errSource) {
|
||||||
log.Debugf("Invalid channel update received: node=%x",
|
log.Debugf("Invalid channel update received: node=%v",
|
||||||
errVertex)
|
errVertex)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user