Skip to content

Commit f2b2920

Browse files
committed
Avoid unnecessary newline in middle of log statement
1 parent 259ceb0 commit f2b2920

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,8 +2315,9 @@ where L::Target: Logger {
23152315
// Decrease the available liquidity of a hop in the middle of the path.
23162316
let victim_candidate = &payment_path.hops[(payment_path.hops.len()) / 2].0.candidate;
23172317
let exhausted = u64::max_value();
2318-
log_trace!(logger, "Disabling route candidate {} for future path building iterations to
2319-
avoid duplicates.", LoggedCandidateHop(victim_candidate));
2318+
log_trace!(logger,
2319+
"Disabling route candidate {} for future path building iterations to avoid duplicates.",
2320+
LoggedCandidateHop(victim_candidate));
23202321
*used_liquidities.entry(victim_candidate.id(false)).or_default() = exhausted;
23212322
*used_liquidities.entry(victim_candidate.id(true)).or_default() = exhausted;
23222323
}

0 commit comments

Comments
 (0)