Skip to content

Commit

Permalink
fix: Use patches for time in thin_client
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jan 15, 2025
1 parent bcf1042 commit 0537859
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions thin-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion thin-client/src/thin_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand All @@ -38,7 +39,6 @@ use {
atomic::{AtomicBool, AtomicUsize, Ordering},
Arc, RwLock,
},
time::{Duration, Instant},
},
};

Expand Down

0 comments on commit 0537859

Please sign in to comment.