fix: remove spammy debug statements from getroute

Fixes #4617
https://github.com/ElementsProject/lightning/issues/4617

Changelog-None
This commit is contained in:
Michael Schmoock
2021-07-01 12:12:45 +02:00
committed by neil saitug
parent 85562db432
commit 9a48221892

View File

@@ -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;
}