diff --git a/Cargo.lock b/Cargo.lock index dcb42ddc886b05..22c12e57c56d7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7541,6 +7541,7 @@ dependencies = [ "rayon", "solana-connection-cache", "solana-logger", + "solana-patches", "solana-rpc-client", "solana-rpc-client-api", "solana-sdk", diff --git a/thin-client/Cargo.toml b/thin-client/Cargo.toml index 75bdaf1bc196ee..1faf8bacc78a39 100644 --- a/thin-client/Cargo.toml +++ b/thin-client/Cargo.toml @@ -14,6 +14,7 @@ bincode = { workspace = true } log = { workspace = true } rayon = { workspace = true } solana-connection-cache = { workspace = true } +solana-patches = { workspace = true } solana-rpc-client = { workspace = true } solana-rpc-client-api = { workspace = true } solana-sdk = { workspace = true } diff --git a/thin-client/src/thin_client.rs b/thin-client/src/thin_client.rs index f53ae499a8b68f..3e98d2b67ee9a5 100644 --- a/thin-client/src/thin_client.rs +++ b/thin-client/src/thin_client.rs @@ -12,6 +12,7 @@ use { ConnectionCache, ConnectionManager, ConnectionPool, NewConnectionConfig, }, }, + solana_patches::time::{Duration, Instant}, solana_rpc_client::rpc_client::RpcClient, solana_rpc_client_api::config::RpcProgramAccountsConfig, solana_sdk::{ @@ -38,7 +39,6 @@ use { atomic::{AtomicBool, AtomicUsize, Ordering}, Arc, RwLock, }, - time::{Duration, Instant}, }, };