We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baa8ab7 commit d2c32c4Copy full SHA for d2c32c4
programs/drift/src/math/orders.rs
@@ -965,7 +965,7 @@ pub fn calculate_max_perp_order_size(
965
966
let mut order_size = 0_u64;
967
let mut updated_margin_ratio = margin_ratio;
968
- for _ in 0..6 {
+ for _ in 0..7 {
969
let (new_order_size, new_margin_ratio) =
970
calculate_order_size_and_margin_ratio(updated_margin_ratio)?;
971
order_size = new_order_size;
0 commit comments