Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Jan 2, 2025
1 parent c232517 commit a3a1802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fiber/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -845,9 +845,9 @@ where
if route_to_self {
// if there is no hint, we will randomly select a channel from the source node for route to self
// so that the following part of algorithm will always trying to find a path without cycle
let (new_taget, expiry, edge) =
let (new_target, expiry, edge) =
self.adjust_target_for_route_self(&hop_hint_map, amount, source, target)?;
target = new_taget;
target = new_target;
last_edge = edge;
current_expiry += expiry;
}
Expand Down

0 comments on commit a3a1802

Please sign in to comment.