diff --git a/client/src/lib.rs b/client/src/lib.rs index 72cb649686..5be24dee1b 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -18,7 +18,7 @@ pub mod rpc_deprecated_config; pub mod rpc_filter; pub mod rpc_request; pub mod rpc_response; -pub(crate) mod rpc_sender; +pub mod rpc_sender; pub mod spinner; pub mod thin_client; pub mod tpu_client; diff --git a/client/src/nonblocking/rpc_client.rs b/client/src/nonblocking/rpc_client.rs index d62203d319..9cbef3f24f 100644 --- a/client/src/nonblocking/rpc_client.rs +++ b/client/src/nonblocking/rpc_client.rs @@ -148,7 +148,7 @@ impl RpcClient { /// `RpcSender`. Most applications should use one of the other constructors, /// such as [`new`] and [`new_mock`], which create an `RpcClient` /// encapsulating an [`HttpSender`] and [`MockSender`] respectively. - pub(crate) fn new_sender( + pub fn new_sender( sender: T, config: RpcClientConfig, ) -> Self {