re-enable token rebalance in liquidator (#545)

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-04-17 11:18:50 +02:00 committed by GitHub
parent d3b784fd84
commit b796965d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -77,9 +77,8 @@ impl Rebalancer {
pub async fn zero_all_non_quote(&self) -> anyhow::Result<()> {
log::trace!("checking for rebalance: {}", self.mango_account_address);
// FIXME: re-enable when flash loans are back
// self.rebalance_tokens().await?;
self.rebalance_perps().await?;
self.rebalance_tokens().await?;
Ok(())
}