Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Lou-Kamades committed Jan 20, 2024
1 parent af35d78 commit 7417ae2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bin/settler/src/settle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ use mango_v4::accounts_zerocopy::KeyedAccountSharedData;
use mango_v4::health::HealthType;
use mango_v4::state::{OracleAccountInfos, PerpMarket, PerpMarketIndex};
use mango_v4_client::{
chain_data, prettify_solana_client_error, health_cache, MangoClient, PreparedInstructions, TransactionBuilder,
chain_data, health_cache, prettify_solana_client_error, MangoClient, PreparedInstructions,
TransactionBuilder,
};
use solana_sdk::address_lookup_table_account::AddressLookupTableAccount;
use solana_sdk::commitment_config::CommitmentConfig;
Expand Down
6 changes: 3 additions & 3 deletions lib/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ impl MangoClient {
let fallback_contexts = self
.context
.derive_fallback_oracle_keys(
&self.client.fallback_oracle_config,
&self.client.config.fallback_oracle_config,
&*self.account_fetcher,
)
.await?;
Expand All @@ -481,7 +481,7 @@ impl MangoClient {
let fallback_contexts = self
.context
.derive_fallback_oracle_keys(
&self.client.fallback_oracle_config,
&self.client.config.fallback_oracle_config,
&*self.account_fetcher,
)
.await?;
Expand All @@ -502,7 +502,7 @@ impl MangoClient {
) -> anyhow::Result<HealthCache> {
health_cache::new(
&self.context,
&self.client.fallback_oracle_config,
&self.client.config.fallback_oracle_config,
&*self.account_fetcher,
mango_account,
)
Expand Down

0 comments on commit 7417ae2

Please sign in to comment.