routing: remove 0-value warning log in pathfinding

Blinded routes can now have "hints" that have zero value edges, so we
remove this log to avoid spamming logs.
This commit is contained in:
Carla Kirk-Cohen 2023-08-09 15:19:00 -04:00 committed by Olaoluwa Osuntokun
parent cae22dc862
commit 0e179fae1e

View File

@ -810,13 +810,6 @@ func findPath(g *graphParams, r *RestrictParams, cfg *PathFindingConfig,
}
}
// Every edge should have a positive time lock delta. If we
// encounter a zero delta, log a warning line.
if edge.policy.TimeLockDelta == 0 {
log.Warnf("Channel %v has zero cltv delta",
edge.policy.ChannelID)
}
// Calculate the total routing info size if this hop were to be
// included. If we are coming from the source hop, the payload
// size is zero, because the original htlc isn't in the onion