Skip to content

Commit a8781ca

Browse files
committed
seventh commit
1 parent 4a2c289 commit a8781ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,11 +1267,12 @@ where L::Target: Logger {
12671267
// around again with a higher amount.
12681268
if !contributes_sufficient_value || exceeds_max_path_length ||
12691269
exceeds_cltv_delta_limit || payment_failed_on_this_channel {
1270+
let our_node_id = NodeId::from_pubkey(&our_node_pubkey);
12701271
let target = first_hop_targets.get(&NodeId::from_pubkey(&our_node_pubkey)).unwrap();
12711272
for channel_details in target {
12721273
if let Some(short_channel_id_target) = channel_details.short_channel_id {
12731274
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.");
12751276
}
12761277
}
12771278
}

0 commit comments

Comments
 (0)