diff --git a/Cargo.lock b/Cargo.lock index 94d85c0a020e15..c130ad32fe3f31 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7892,6 +7892,7 @@ dependencies = [ "solana-pubkey", "solana-rpc-client", "solana-rpc-client-api", + "solana-sdk", "solana-sha256-hasher", "thiserror", "tokio", diff --git a/rpc-client-nonce-utils/Cargo.toml b/rpc-client-nonce-utils/Cargo.toml index 4614225ff86fde..746da1965b05f8 100644 --- a/rpc-client-nonce-utils/Cargo.toml +++ b/rpc-client-nonce-utils/Cargo.toml @@ -28,6 +28,7 @@ solana-account-decoder = { workspace = true } solana-fee-calculator = { workspace = true } solana-program = { workspace = true, default-features = false } solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } solana-sha256-hasher = { workspace = true } tokio = { workspace = true, features = ["full"] } diff --git a/rpc-client-nonce-utils/src/nonblocking/mod.rs b/rpc-client-nonce-utils/src/nonblocking/mod.rs index 6cb1e1bd56d113..d19d7f9ea01443 100644 --- a/rpc-client-nonce-utils/src/nonblocking/mod.rs +++ b/rpc-client-nonce-utils/src/nonblocking/mod.rs @@ -148,12 +148,14 @@ pub fn state_from_account>( /// ```no_run /// use solana_rpc_client_nonce_utils::nonblocking; /// use solana_rpc_client::nonblocking::rpc_client::RpcClient; -/// use solana_sdk::{ +/// use solana_program::{ /// message::Message, -/// pubkey::Pubkey, -/// signature::{Keypair, Signer}, -/// system_instruction, -/// transaction::Transaction, +/// system_instruction +/// }; +/// use solana_pubkey::Pubkey; +/// use solana_sdk::{ +/// signer::{keypair::Keypair, Signer}, +/// transaction::Transaction /// }; /// use std::path::Path; /// use anyhow::Result;