Skip to content

Commit

Permalink
cargo fmt --
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Nov 25, 2024
1 parent 9462dcd commit 411eac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/drift/src/math/spot_balance.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use crate::error::{DriftResult, ErrorCode};
use crate::math::casting::Cast;
#[cfg(feature = "drift-rs")]
use crate::math::constants::PERCENTAGE_PRECISION;
use crate::math::constants::{ONE_YEAR, SPOT_RATE_PRECISION, SPOT_UTILIZATION_PRECISION};
use crate::math::safe_math::{SafeDivFloor, SafeMath};
use crate::state::oracle::{OraclePriceData, StrictOraclePrice};
use crate::state::spot_market::{SpotBalanceType, SpotMarket};
use crate::state::user::SpotPosition;
#[cfg(feature = "drift-rs")]
use crate::math::constants::PERCENTAGE_PRECISION;

pub fn get_spot_balance(
token_amount: u128,
Expand Down

0 comments on commit 411eac7

Please sign in to comment.