Skip to content

Commit 03d7194

Browse files
committed
sys-lend: temporarily remove mfi from list of default pools
1 parent 3996dff commit 03d7194

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/bin/sys-lend.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ fn supported_pools_for_token(token: Token) -> Vec<String> {
172172
.collect();
173173
supported_tokens.sort();
174174
supported_tokens
175+
.into_iter()
176+
.filter(|pool| pool != "mfi")
177+
.collect()
175178
}
176179

177180
#[derive(Clone)]
@@ -1749,9 +1752,9 @@ async fn mfi_load_user_account(
17491752
}
17501753

17511754
/*
1752-
fn mfi_load_user_account(
1755+
async fn mfi_load_user_account(
17531756
wallet_address: Pubkey,
1754-
account_data_cache: &mut AccountDataCache,
1757+
account_data_cache: &mut AccountDataCache<'_>,
17551758
) -> Result<Option<(Pubkey, marginfi_v2::MarginfiAccount)>, Box<dyn std::error::Error>> {
17561759
use {
17571760
solana_account_decoder::UiDataSliceConfig,

0 commit comments

Comments
 (0)