Skip to content

Commit ba56f3c

Browse files
committed
f clearer name
1 parent d913a80 commit ba56f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ where L::Target: Logger {
21722172
route_hints
21732173
.iter().zip(introduction_node_id_cache.iter())
21742174
.filter(|((_, p), _)| p.blinded_hops.len() == 1)
2175-
.any(|(_, p_introduction_node_id)| p_introduction_node_id != info_opt)
2175+
.any(|(_, iter_info_opt)| iter_info_opt.is_some() && iter_info_opt != info_opt)
21762176
{
21772177
return Err(LightningError{err: format!("1-hop blinded paths must all have matching introduction node ids"), action: ErrorAction::IgnoreError});
21782178
}

0 commit comments

Comments
 (0)