Skip to content

Commit 9f6e324

Browse files
committed
f better comment from antoine
1 parent 9393d1d commit 9f6e324

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ struct RouteGraphNode {
144144
// - how much value can channels following this node (up to the destination) can contribute,
145145
// considering their capacity and fees
146146
value_contribution_msat: u64,
147-
/// The maximum htlc_minimum_msat along the path, taking into consideration the fees required
148-
/// to meet the minimum over the hops required to get there.
147+
/// The effective htlc_minimum_msat at this hop. If a later hop on the path had a higher HTLC
148+
/// maximum, we use it, plus the fees required at each earlier hop to meet it.
149149
path_htlc_minimum_msat: u64,
150150
}
151151

0 commit comments

Comments
 (0)