diff --git a/client/src/rpc_client.rs b/client/src/rpc_client.rs
index f3549bf6453ea1..b9d2cafc9029e1 100644
--- a/client/src/rpc_client.rs
+++ b/client/src/rpc_client.rs
@@ -16,10 +16,7 @@ use indicatif::{ProgressBar, ProgressStyle};
use log::*;
use serde_json::{json, Value};
use solana_account_decoder::{
- parse_token::{
- get_token_account_mint, parse_token, TokenAccountType, UiMint, UiMultisig, UiTokenAccount,
- UiTokenAmount,
- },
+ parse_token::UiTokenAmount,
UiAccount,
UiAccountData::{Binary, Binary64},
UiAccountEncoding,
@@ -44,7 +41,6 @@ use solana_transaction_status::{
};
use solana_vote_program::vote_state::MAX_LOCKOUT_HISTORY;
use std::{
- collections::HashMap,
net::SocketAddr,
thread::sleep,
time::{Duration, Instant},
@@ -703,103 +699,6 @@ impl RpcClient {
Ok(hash)
}
- pub fn get_token_account(&self, pubkey: &Pubkey) -> ClientResult