Logging (pathfind): Don't log [WRN] CRTR: Channel x has zero cltv delta #6069
Labels
beginner
Issues suitable for new developers
good first issue
Issues suitable for first time contributors to LND
logging
Related to the logging / debug output functionality
P3
might get fixed, nice to have
Background
Inspired by C-Otto/rebalance-lnd#241.
As part of pathfinding, lnd might encounter edges that have a policy specifying a zero CLTV delta (possibly because of no/outdated gossip?). Every time an edge like this is used in the pathfinding code, a warning is logged:
lnd/routing/pathfind.go
Line 705 in 290b78e
For nodes that query a lot of routes (for example when running
rebalance-lnd
), countless warnings are logged. These warnings don't seem to serve a proper purpose, as the user cannot do anything about it, and in my experience this also didn't cause any issues.Your environment
Steps to reproduce
Run QueryRoutes a few times.
Expected behaviour
Warning from issue title is not logged.
Actual behaviour
Warning from issue title is logged quite often.
The text was updated successfully, but these errors were encountered: