diff --git a/clients/rust/marginfi-cli/src/processor/mod.rs b/clients/rust/marginfi-cli/src/processor/mod.rs index b1458b41..7dd004d9 100644 --- a/clients/rust/marginfi-cli/src/processor/mod.rs +++ b/clients/rust/marginfi-cli/src/processor/mod.rs @@ -1462,7 +1462,7 @@ pub fn marginfi_account_liquidate( ix.accounts.extend(load_observation_account_metas( &marginfi_account, &banks, - vec![asset_bank_pk, liability_bank_pk], + vec![liability_bank_pk, asset_bank_pk], vec![], )); ix.accounts.extend(load_observation_account_metas( @@ -1472,7 +1472,7 @@ pub fn marginfi_account_liquidate( vec![], )); - let cu_ix = ComputeBudgetInstruction::set_compute_unit_limit(600_000); + let cu_ix = ComputeBudgetInstruction::set_compute_unit_limit(1_400_000); let tx = Transaction::new_signed_with_payer( &[ix, cu_ix],