Skip to content

Commit

Permalink
code review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhea committed May 8, 2024
1 parent eace5b8 commit b902c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/hyperdrive-math/src/lp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl State {
// rate is an APR.
let t = self
.position_duration()
.div_down(FixedPoint::from(U256::from(60 * 60 * 24 * 365)));
.div_down(U256::from(60 * 60 * 24 * 365).into());

// NOTE: Round up to underestimate the initial bond reserves.
//
Expand Down

0 comments on commit b902c0b

Please sign in to comment.