Skip to content

Commit

Permalink
f maybe more readable separation of penalty names
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Jul 20, 2022
1 parent 3c98ae1 commit 2e9b664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/routing/scoring.rs
Expand Up @@ -683,7 +683,7 @@ impl<L: Deref<Target = u64>, T: Time, U: Deref<Target = T>> 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,
Expand Down

0 comments on commit 2e9b664

Please sign in to comment.