mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
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:
parent
cae22dc862
commit
0e179fae1e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user