Skip to content

Commit

Permalink
Merge branch 'develop' into vbrunet/2023_12_23-audit-i8
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-vincent authored Jan 1, 2024
2 parents 687f8bb + 6bc0400 commit 5a96729
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ pub(crate) fn handler(ctx: Context<RebalanceAlloyxVaultDepository>, vault_id: &s
alloyx_vault_depository.redeemable_amount_under_management,
deposited_underflow_collateral,
)?;
// If we deposited, we can stop here
return Ok(());
}
// If we deposited, we can stop here (no need to withdraw)
return Ok(());
}

// ---------------------------------------------------------------------
Expand Down

0 comments on commit 5a96729

Please sign in to comment.