Skip to content

Commit 0b39756

Browse files
committed
f improve docs
1 parent 399c151 commit 0b39756

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning/src/routing/scoring.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -956,11 +956,11 @@ impl<G: Deref<Target = NetworkGraph<L>>, L: Deref> ProbabilisticScorer<G, L> whe
956956
/// with `scid` towards the given `target` node, based on the historical estimated liquidity
957957
/// bounds.
958958
///
959-
/// If `allow_fallback_estimation` is *not* set and there is no (or insufficient) historical
960-
/// data for the given channel, `None` will be returned.
961-
///
962-
/// If `allow_fallback_estimation` is set, `None` will only be returned if the given channel is
963-
/// not in the network graph (or the provided `target` is not a party to the channel).
959+
/// Returns `None` if:
960+
/// - the given channel is not in the network graph, the provided `target` is not a party to
961+
/// the channel, or we don't have forwarding parameters for either direction in the channel.
962+
/// - `allow_fallback_estimation` is *not* set and there is no (or insufficient) historical
963+
/// data for the given channel.
964964
///
965965
/// These are the same bounds as returned by
966966
/// [`Self::historical_estimated_channel_liquidity_probabilities`] (but not those returned by

0 commit comments

Comments
 (0)