From 5629017a8ade270b6c036e9f3a074723f8831ba7 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Fri, 1 Mar 2024 11:44:06 +0100 Subject: [PATCH] service-mango-health: fix format --- bin/service-mango-health/src/processors/health.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/service-mango-health/src/processors/health.rs b/bin/service-mango-health/src/processors/health.rs index 84b02805a..425f521d1 100644 --- a/bin/service-mango-health/src/processors/health.rs +++ b/bin/service-mango-health/src/processors/health.rs @@ -156,12 +156,8 @@ impl HealthProcessor { account: &Pubkey, ) -> anyhow::Result { let mango_account = account_fetcher.fetch_mango_account(account)?; - let health_cache = health_cache::new( - &mango_group_context, - &*account_fetcher, - &mango_account, - ) - .await?; + let health_cache = + health_cache::new(&mango_group_context, &*account_fetcher, &mango_account).await?; let res = HealthComponentValue { maintenance_ratio: health_cache.health_ratio(HealthType::Maint).to_num(),