diff --git a/programs/jit-proxy/src/instructions/arb_perp.rs b/programs/jit-proxy/src/instructions/arb_perp.rs index a8eb760..7ab97b2 100644 --- a/programs/jit-proxy/src/instructions/arb_perp.rs +++ b/programs/jit-proxy/src/instructions/arb_perp.rs @@ -79,6 +79,7 @@ pub fn arb_perp<'c: 'info, 'info>( let init_margin_ratio = perp_market.get_margin_ratio( intermediate_base.unsigned_abs().cast()?, MarginRequirementType::Initial, + taker.is_high_leverage_mode(), )?; // assumes all free collateral in quote asset token