Skip to content

Commit c8626ca

Browse files
committed
f - doc fix
1 parent 115a257 commit c8626ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/routing/scoring.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ pub struct ProbabilisticScorerUsingTime<G: Deref<Target = NetworkGraph>, T: Time
517517

518518
/// Parameters for configuring [`ProbabilisticScorer`].
519519
///
520-
/// Used to configure base, liquidity, and amount penalties, the sum of which composes the channel
520+
/// Used to configure base, liquidity, and amount penalties, the sum of which comprises the channel
521521
/// penalty (i.e., the amount in msats willing to be paid to avoid routing through the channel).
522522
#[derive(Clone, Copy)]
523523
pub struct ProbabilisticScoringParameters {
@@ -733,6 +733,7 @@ impl<L: Deref<Target = u64>, T: Time, U: Deref<Target = T>> DirectedChannelLiqui
733733
}
734734
}
735735

736+
/// Computes the liquidity and amount penalties and adds them to the base penalty.
736737
#[inline(always)]
737738
fn combined_penalty_msat(
738739
&self, amount_msat: u64, negative_log10_times_1024: u64,

0 commit comments

Comments
 (0)