Skip to content

Commit

Permalink
fix build_router fee rate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Nov 19, 2024
1 parent feefe59 commit c7106af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fiber/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ where
(0, 0)
} else {
let channel_info = self
.get_channel(&route[i + 1].channel_outpoint)
.get_channel(&route[i].channel_outpoint)
.expect("channel not found");
let channel_update = &if channel_info.node1() == route[i + 1].target {
channel_info.node2_to_node1.as_ref()
Expand Down

0 comments on commit c7106af

Please sign in to comment.