Skip to content

Commit

Permalink
fix: adjust slashable USD curve
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Mar 25, 2024
1 parent 3825875 commit 7f3dadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer-selection/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fn score_seconds_behind(seconds_behind: u32) -> Normalized {
/// https://www.desmos.com/calculator/akqaa2gjrf
fn score_slashable_usd(slashable_usd: u64) -> Normalized {
let x = slashable_usd as f64;
let a = 2e-4;
let a = 1.6e-5;
Normalized::new(1.0 - E.powf(-a * x)).unwrap()
}

Expand Down

0 comments on commit 7f3dadf

Please sign in to comment.