mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
fix: remove spammy debug statements from getroute
Fixes #4617 https://github.com/ElementsProject/lightning/issues/4617 Changelog-None
This commit is contained in:
committed by
neil saitug
parent
85562db432
commit
9a48221892
@@ -77,17 +77,11 @@ static bool can_carry(const struct gossmap *map,
|
||||
|
||||
/* First do generic check */
|
||||
if (!route_can_carry(map, c, dir, amount, NULL)) {
|
||||
plugin_log(plugin, LOG_DBG, "cannot carry %s across %p",
|
||||
type_to_string(tmpctx, struct amount_msat, &amount),
|
||||
c);
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Now check exclusions. Premature optimization: */
|
||||
if (!tal_count(excludes)) {
|
||||
plugin_log(plugin, LOG_DBG, "CAN carry %s across %p",
|
||||
type_to_string(tmpctx, struct amount_msat, &amount),
|
||||
c);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user