Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Sep 17, 2024
1 parent 15e1a65 commit cca4a6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions staking/cli/src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ pub fn deserialize_accumulator_update_data(
}
}

pub fn process_transaction<'a>(
pub fn process_transaction(
rpc_client: &RpcClient,
instructions: &[Instruction],
signers: &[&'a dyn Signer],
signers: &[&dyn Signer],
) {
let mut transaction = Transaction::new_with_payer(instructions, Some(&signers[0].pubkey()));
transaction.sign(signers, rpc_client.get_latest_blockhash().unwrap());
Expand Down
8 changes: 1 addition & 7 deletions staking/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ use {
update_y,
},
solana_client::rpc_client::RpcClient,
solana_remote_wallet::locator::Locator,
solana_sdk::{
commitment_config::CommitmentConfig,
signature::Keypair,
signer::Signer,
},
std::convert::TryFrom,
solana_sdk::commitment_config::CommitmentConfig,
};


Expand Down

0 comments on commit cca4a6d

Please sign in to comment.