File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2093,10 +2093,10 @@ where L::Target: Logger {
2093
2093
}
2094
2094
}
2095
2095
2096
- // Step (1).
2097
- // Prepare the data we'll use for payee-to-payer search by
2098
- // inserting first hops suggested by the caller as targets .
2099
- // Our search will then attempt to reach them while traversing from the payee node .
2096
+ // Step (1). Prep first and last hop targets.
2097
+ //
2098
+ // First cache all our direct channels so that we can insert them in the heap at startup .
2099
+ // Then process any blinded routes, resolving their introduction node and caching it .
2100
2100
let mut first_hop_targets: HashMap < _ , Vec < & ChannelDetails > > =
2101
2101
hash_map_with_capacity ( if first_hops. is_some ( ) { first_hops. as_ref ( ) . unwrap ( ) . len ( ) } else { 0 } ) ;
2102
2102
if let Some ( hops) = first_hops {
You can’t perform that action at this time.
0 commit comments