Skip to content

Commit cfe611a

Browse files
committed
fifth commit
1 parent b6ac4ec commit cfe611a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lightning/src/routing/router.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,6 +1270,13 @@ where L::Target: Logger {
12701270
// around again with a higher amount.
12711271
if !contributes_sufficient_value || exceeds_max_path_length ||
12721272
exceeds_cltv_delta_limit || payment_failed_on_this_channel {
1273+
if let Some(first_hops) = first_hops { // for only first hop it will log feedback
1274+
for hop in first_hops {
1275+
let _channel_id = hop.channel_id;
1276+
}
1277+
log_trace!(logger, "first Hop is excluded because unfulfilling condition");
1278+
1279+
}
12731280
// Path isn't useful, ignore it and move on.
12741281
} else if may_overpay_to_meet_path_minimum_msat {
12751282
hit_minimum_limit = true;

0 commit comments

Comments
 (0)