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 {
21102110				// Only add the hops in this route to our candidate set if either we are part of 
21112111				// the first hop, we have a direct channel to the first hop, or the first hop is in 
21122112				// the regular network graph. 
2113- 				our_node_id == intro_node_id ||
21142113				first_hop_targets. get ( & intro_node_id) . is_some ( )  ||
21152114				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  } 
21172116			let  candidate = if  hint. 1 . blinded_hops . len ( )  == 1  { 
21182117				CandidateRouteHop :: OneHopBlinded  {  hint,  hint_idx } 
21192118			}  else  {  CandidateRouteHop :: Blinded  {  hint,  hint_idx }  } ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments