Skip to content

Commit

Permalink
lint: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
losman0s committed Dec 1, 2023
1 parent 16f797e commit cf15956
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clients/rust/marginfi-cli/src/processor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ pub fn group_create(

let marginfi_group_keypair = Keypair::new();

let mut init_marginfi_group_ixs_builder = config.mfi_program.request();
let init_marginfi_group_ixs_builder = config.mfi_program.request();

let mut signing_keypairs = config.get_signers(false);
signing_keypairs.push(&marginfi_group_keypair);
Expand Down Expand Up @@ -262,8 +262,8 @@ pub fn group_configure(config: Config, profile: Profile, admin: Option<Pubkey>)
bail!("Marginfi group not specified in profile [{}]", profile.name);
}

let mut signing_keypairs = config.get_signers(false);
let mut configure_marginfi_group_ixs_builder = config
let signing_keypairs = config.get_signers(false);
let configure_marginfi_group_ixs_builder = config
.mfi_program
.request()
.signer(*signing_keypairs.first().unwrap());
Expand Down Expand Up @@ -352,7 +352,7 @@ pub fn group_add_bank(

let bank_keypair = Keypair::new();

let mut add_bank_ixs_builder = config.mfi_program.request();
let add_bank_ixs_builder = config.mfi_program.request();

let mut signing_keypairs = config.get_signers(true);
signing_keypairs.push(&bank_keypair);
Expand Down Expand Up @@ -1049,7 +1049,7 @@ pub fn bank_configure(
) -> Result<()> {
let rpc_client = config.mfi_program.rpc();

let mut configure_bank_ixs_builder = config.mfi_program.request();
let configure_bank_ixs_builder = config.mfi_program.request();
let signing_keypairs = config.get_signers(false);

let mut configure_bank_ixs = configure_bank_ixs_builder
Expand Down

0 comments on commit cf15956

Please sign in to comment.