]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Avoid unnecessary newline in middle of log statement 2023-04-nonlinear-scoring
authorMatt Corallo <git@bluematt.me>
Sat, 16 Sep 2023 17:04:11 +0000 (17:04 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 20 Sep 2023 18:32:21 +0000 (18:32 +0000)
lightning/src/routing/router.rs

index 261733c13c263bc8318f27dea01f8089284fddc7..710101299c038e08ed7407b145d99d7f865e557e 100644 (file)
@@ -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;
                                }