Skip to content

Commit fd94350

Browse files
committed
f Spell out abbreviated terms in logs
1 parent 14f5544 commit fd94350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ where L::Target: Logger {
17461746
num_ignored_value_contribution += 1;
17471747
} else if exceeds_max_path_length {
17481748
if should_log_candidate {
1749-
log_trace!(logger, "Ignoring {} due to exceeding max. path length limit.", LoggedCandidateHop(&$candidate));
1749+
log_trace!(logger, "Ignoring {} due to exceeding maximum path length limit.", LoggedCandidateHop(&$candidate));
17501750
}
17511751
num_ignored_path_length_limit += 1;
17521752
} else if exceeds_cltv_delta_limit {
@@ -2363,7 +2363,7 @@ where L::Target: Logger {
23632363
let num_ignored_total = num_ignored_value_contribution + num_ignored_path_length_limit +
23642364
num_ignored_cltv_delta_limit + num_ignored_previously_failed;
23652365
if num_ignored_total > 0 {
2366-
log_trace!(logger, "Ignored {} candidate hops due to insufficient value contrib., {} due to path length limit, {} due to CLTV delta limit, {} due to previous payment failure. Total: {} ignored candidates.", num_ignored_value_contribution, num_ignored_path_length_limit, num_ignored_cltv_delta_limit, num_ignored_previously_failed, num_ignored_total);
2366+
log_trace!(logger, "Ignored {} candidate hops due to insufficient value contribution, {} due to path length limit, {} due to CLTV delta limit, {} due to previous payment failure. Total: {} ignored candidates.", num_ignored_value_contribution, num_ignored_path_length_limit, num_ignored_cltv_delta_limit, num_ignored_previously_failed, num_ignored_total);
23672367
}
23682368

23692369
// Step (5).

0 commit comments

Comments
 (0)