We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2333f commit bdc4d8aCopy full SHA for bdc4d8a
lightning/src/routing/scoring.rs
@@ -1064,8 +1064,9 @@ impl<T: Time> ChannelLiquidity<T> {
1064
}
1065
1066
1067
- fn decayed_offset(&self, offset: u64, duration_since_epoch: Duration,
1068
- decay_params: ProbabilisticScoringDecayParameters
+ fn decayed_offset(
+ &self, offset: u64, duration_since_epoch: Duration,
1069
+ decay_params: ProbabilisticScoringDecayParameters,
1070
) -> u64 {
1071
let half_life = decay_params.liquidity_offset_half_life.as_secs_f64();
1072
if half_life != 0.0 {
0 commit comments