Skip to content

Commit 6487a97

Browse files
committed
f clarify new assertion var text a bit
1 parent 158c746 commit 6487a97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/routing/router.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,9 +1785,9 @@ struct PathBuildingHop<'a> {
17851785
/// avoid processing them again.
17861786
was_processed: bool,
17871787
/// If we've already processed a channel backwards from a target node, we shouldn't update our
1788-
/// selected best path to that node. This should never happen, but with multiple codepaths
1789-
/// processing channels we've had issues here in the past, so in debug-mode we track it and
1790-
/// assert on it when processing a node.
1788+
/// selected best path from that node to the destination. This should never happen, but with
1789+
/// multiple codepaths processing channels we've had issues here in the past, so in debug-mode
1790+
/// we track it and assert on it when processing a node.
17911791
#[cfg(all(not(ldk_bench), any(test, fuzzing)))]
17921792
best_path_from_hop_selected: bool,
17931793
/// When processing a node as the next best-score candidate, we want to quickly check if it is

0 commit comments

Comments
 (0)