diff --git a/client/src/rpc_client.rs b/client/src/rpc_client.rs index 0ea0e93d06..55f4e2c528 100644 --- a/client/src/rpc_client.rs +++ b/client/src/rpc_client.rs @@ -163,7 +163,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. - fn new_sender( + pub fn new_sender( sender: T, config: RpcClientConfig, ) -> Self {