Skip to content

Commit 2e9b664

Browse files
committed
f maybe more readable separation of penalty names
1 parent 3c98ae1 commit 2e9b664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/scoring.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ impl<L: Deref<Target = u64>, T: Time, U: Deref<Target = T>> DirectedChannelLiqui
683683
}
684684
}
685685

686-
/// Computes and combines the liquidity and amount penalties.
686+
/// Computes the liquidity penalty from the core and amount penalty multipliers.
687687
#[inline(always)]
688688
fn combined_penalty_msat(
689689
&self, amount_msat: u64, negative_log10_times_2048: u64,

0 commit comments

Comments
 (0)