From 92d4006fd99e140ed81f4c4c6335847971814227 Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Fri, 22 Nov 2024 11:29:07 +0900 Subject: [PATCH] remove unnecessary imports --- token/cli/src/bench.rs | 2 +- token/cli/src/clap_app.rs | 2 +- token/cli/src/command.rs | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/token/cli/src/bench.rs b/token/cli/src/bench.rs index bd91f0d3e60..54328cc1e8d 100644 --- a/token/cli/src/bench.rs +++ b/token/cli/src/bench.rs @@ -2,7 +2,7 @@ use { crate::{clap_app::Error, command::CommandResult, config::Config}, clap::ArgMatches, - solana_clap_v3_utils::input_parsers::{pubkey_of_signer, signer::SignerSource, Amount}, + solana_clap_v3_utils::input_parsers::{signer::SignerSource, Amount}, solana_client::{ nonblocking::rpc_client::RpcClient, rpc_client::RpcClient as BlockingRpcClient, tpu_client::TpuClient, tpu_client::TpuClientConfig, diff --git a/token/cli/src/clap_app.rs b/token/cli/src/clap_app.rs index 2a513812367..ff7abb32a7a 100644 --- a/token/cli/src/clap_app.rs +++ b/token/cli/src/clap_app.rs @@ -8,7 +8,7 @@ use { solana_clap_v3_utils::{ fee_payer::fee_payer_arg, input_parsers::{signer::SignerSourceParserBuilder, Amount}, - input_validators::{is_pubkey, is_url_or_moniker, is_valid_pubkey, is_valid_signer}, + input_validators::{is_url_or_moniker, is_valid_signer}, memo::memo_arg, nonce::*, offline::{self, *}, diff --git a/token/cli/src/command.rs b/token/cli/src/command.rs index ab141b81fa5..670a76d66c6 100644 --- a/token/cli/src/command.rs +++ b/token/cli/src/command.rs @@ -18,9 +18,7 @@ use { UiAccountData, }, solana_clap_v3_utils::{ - input_parsers::{ - pubkey_of_signer, pubkeys_of_multiple_signers, signer::SignerSource, Amount, - }, + input_parsers::{pubkey_of_signer, signer::SignerSource, Amount}, keypair::signer_from_path, }, solana_cli_output::{