Skip to content

Commit

Permalink
fix: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbpvsc committed Nov 21, 2023
1 parent a3d22d6 commit 3af27ee
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions clients/rust/marginfi-cli/src/processor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,26 +444,6 @@ pub fn group_add_bank(
Ok(())
}

// pub fn group_handle_all_bankruptcies(
// config: &Config,
// profile: Profile,
// ) -> Result<()> {
// let rpc_client = config.mfi_program.rpc();

// if profile.marginfi_group.is_none() {
// bail!("Marginfi group not specified in profile [{}]", profile.name);
// }

// let banks = HashMap::from_iter(load_all_banks(
// config,
// Some(profile.marginfi_group.unwrap()),
// )?);

// let accounts = config.mfi_program.accounts::<MarginfiAccount>(vec![])?;

// Ok(())
// }

#[allow(clippy::too_many_arguments)]
#[cfg(feature = "admin")]
pub fn group_handle_bankruptcy(
Expand Down

0 comments on commit 3af27ee

Please sign in to comment.