diff --git a/src/rpc.rs b/src/rpc.rs index 4ee4ead50e..c1a0ef173a 100644 --- a/src/rpc.rs +++ b/src/rpc.rs @@ -171,7 +171,7 @@ pub enum RpcClient { } impl RpcClient { - async fn request( + pub async fn request( &self, method: &str, params: Params, @@ -186,7 +186,7 @@ impl RpcClient { } } - async fn subscribe( + pub async fn subscribe( &self, subscribe_method: &str, params: Params,