routing: dont use InPolicy for blinded paths
We only need the ChannelID, so no need to use the InPolicy which might be nil.
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -722,7 +722,7 @@ func (r *ChannelRouter) FindBlindedPaths(destination route.Vertex,
|
||||
|
||||
hops = append(hops, &route.Hop{
|
||||
PubKeyBytes: path[j].vertex,
|
||||
ChannelID: path[j-1].edgePolicy.ChannelID,
|
||||
ChannelID: path[j-1].channelID,
|
||||
})
|
||||
|
||||
prevNode = path[j].vertex
|
||||
|
||||
Reference in new issue
Block a user