Skip to content

Commit 335e5bf

Browse files
committed
f - Update last_hops description in get_route docs
1 parent 01464ec commit 335e5bf

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
@@ -333,8 +333,8 @@ fn compute_fees(amount_msat: u64, channel_fees: RoutingFees) -> Option<u64> {
333333
/// If the payee provided features in their invoice, they should be provided via payee_features.
334334
/// Without this, MPP will only be used if the payee's features are available in the network graph.
335335
///
336-
/// Extra routing hops between known nodes and the target will be used if they are included in
337-
/// last_hops.
336+
/// Private routing paths between a public node and the target may be included in `last_hops`.
337+
/// Currently, only the last hop in each path is considered.
338338
///
339339
/// If some channels aren't announced, it may be useful to fill in a first_hops with the
340340
/// results from a local ChannelManager::list_usable_channels() call. If it is filled in, our

0 commit comments

Comments
 (0)