From 9959f0d29950219f20b5cc79dfff46f8987239fc Mon Sep 17 00:00:00 2001 From: Greg Hill Date: Mon, 8 Mar 2021 13:09:39 +0000 Subject: [PATCH] rpc client methods should be public for downstream usage (#240) Signed-off-by: Gregory Hill --- src/rpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,