Skip to content

Commit 693bbe1

Browse files
committed
Revert "program: try to fix iteration for max order size (#1651)"
This reverts commit 3f0eab3.
1 parent 3f0eab3 commit 693bbe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/drift/src/math/orders.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ pub fn calculate_max_perp_order_size(
965965

966966
let mut order_size = 0_u64;
967967
let mut updated_margin_ratio = margin_ratio;
968-
for _ in 0..7 {
968+
for _ in 0..6 {
969969
let (new_order_size, new_margin_ratio) =
970970
calculate_order_size_and_margin_ratio(updated_margin_ratio)?;
971971
order_size = new_order_size;

0 commit comments

Comments
 (0)