We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ac4ec commit cfe611aCopy full SHA for cfe611a
lightning/src/routing/router.rs
@@ -1270,6 +1270,13 @@ where L::Target: Logger {
1270
// around again with a higher amount.
1271
if !contributes_sufficient_value || exceeds_max_path_length ||
1272
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
1280
// Path isn't useful, ignore it and move on.
1281
} else if may_overpay_to_meet_path_minimum_msat {
1282
hit_minimum_limit = true;
0 commit comments