Skip to content

Commit

Permalink
f indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Dec 13, 2023
1 parent b767e99 commit bbaf6b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lightning/src/routing/scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1039,8 +1039,9 @@ impl ChannelLiquidity {
}
}

fn decayed_offset(&self, offset: u64, duration_since_epoch: Duration,
decay_params: ProbabilisticScoringDecayParameters
fn decayed_offset(
&self, offset: u64, duration_since_epoch: Duration,
decay_params: ProbabilisticScoringDecayParameters,
) -> u64 {
let half_life = decay_params.liquidity_offset_half_life.as_secs_f64();
if half_life != 0.0 {
Expand Down

0 comments on commit bbaf6b8

Please sign in to comment.