Skip to content

Commit 8be1bb0

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/bin/sys-lend.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ 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()
178+
175179
}
176180

177181
#[derive(Clone)]
@@ -1749,9 +1753,9 @@ async fn mfi_load_user_account(
17491753
}
17501754

17511755
/*
1752-
fn mfi_load_user_account(
1756+
async fn mfi_load_user_account(
17531757
wallet_address: Pubkey,
1754-
account_data_cache: &mut AccountDataCache,
1758+
account_data_cache: &mut AccountDataCache<'_>,
17551759
) -> Result<Option<(Pubkey, marginfi_v2::MarginfiAccount)>, Box<dyn std::error::Error>> {
17561760
use {
17571761
solana_account_decoder::UiDataSliceConfig,

0 commit comments

Comments
 (0)