Skip to content

Commit

Permalink
add PERCENTAGE_PRECISION import for fixing compilation issue (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh4786 authored Nov 12, 2024
1 parent 4ce1e02 commit 79e0f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions programs/drift/src/math/spot_balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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;
use crate::PERCENTAGE_PRECISION;

pub fn get_spot_balance(
token_amount: u128,
Expand Down

0 comments on commit 79e0f27

Please sign in to comment.