From 2e9b664290a9576ba8f1c916a788480ae0842b19 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 20 Jul 2022 21:46:09 +0000 Subject: [PATCH] f maybe more readable separation of penalty names --- lightning/src/routing/scoring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index ae56cd72b8b..8edd1eea0a2 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -683,7 +683,7 @@ impl, T: Time, U: Deref> DirectedChannelLiqui } } - /// Computes and combines the liquidity and amount penalties. + /// Computes the liquidity penalty from the core and amount penalty multipliers. #[inline(always)] fn combined_penalty_msat( &self, amount_msat: u64, negative_log10_times_2048: u64,