File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -2110,10 +2110,9 @@ where L::Target: Logger {
2110
2110
// Only add the hops in this route to our candidate set if either we are part of
2111
2111
// the first hop, we have a direct channel to the first hop, or the first hop is in
2112
2112
// the regular network graph.
2113
- our_node_id == intro_node_id ||
2114
2113
first_hop_targets. get ( & intro_node_id) . is_some ( ) ||
2115
2114
network_nodes. get ( & intro_node_id) . is_some ( ) ;
2116
- if !have_intro_node_in_graph { continue }
2115
+ if !have_intro_node_in_graph || our_node_id == intro_node_id { continue }
2117
2116
let candidate = if hint. 1 . blinded_hops . len ( ) == 1 {
2118
2117
CandidateRouteHop :: OneHopBlinded { hint, hint_idx }
2119
2118
} else { CandidateRouteHop :: Blinded { hint, hint_idx } } ;
You can’t perform that action at this time.
0 commit comments