File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1267,11 +1267,12 @@ where L::Target: Logger {
1267
1267
// around again with a higher amount.
1268
1268
if !contributes_sufficient_value || exceeds_max_path_length ||
1269
1269
exceeds_cltv_delta_limit || payment_failed_on_this_channel {
1270
+ let our_node_id = NodeId :: from_pubkey( & our_node_pubkey) ;
1270
1271
let target = first_hop_targets. get( & NodeId :: from_pubkey( & our_node_pubkey) ) . unwrap( ) ;
1271
1272
for channel_details in target {
1272
1273
if let Some ( short_channel_id_target) = channel_details. short_channel_id {
1273
1274
if short_channel_id == short_channel_id_target {
1274
- log_trace!( logger, "first Hop of node id is excluded due to a failed requirement." ) ;
1275
+ log_trace!( logger, "first Hop of node id {our_node_id} is excluded due to a failed requirement." ) ;
1275
1276
}
1276
1277
}
1277
1278
}
You can’t perform that action at this time.
0 commit comments