From f2b2920b135887eb30e2230e4a11833edc43e04c Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 16 Sep 2023 17:04:11 +0000 Subject: [PATCH] Avoid unnecessary newline in middle of log statement --- lightning/src/routing/router.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 261733c13..710101299 100644 --- a/lightning/src/routing/router.rs +++ b/lightning/src/routing/router.rs @@ -2315,8 +2315,9 @@ where L::Target: Logger { // Decrease the available liquidity of a hop in the middle of the path. let victim_candidate = &payment_path.hops[(payment_path.hops.len()) / 2].0.candidate; let exhausted = u64::max_value(); - log_trace!(logger, "Disabling route candidate {} for future path building iterations to - avoid duplicates.", LoggedCandidateHop(victim_candidate)); + log_trace!(logger, + "Disabling route candidate {} for future path building iterations to avoid duplicates.", + LoggedCandidateHop(victim_candidate)); *used_liquidities.entry(victim_candidate.id(false)).or_default() = exhausted; *used_liquidities.entry(victim_candidate.id(true)).or_default() = exhausted; } -- 2.39.5