From 47fd11408474f14fccb5e95fcc31fba930b4aa09 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Mon, 8 Mar 2021 11:52:11 +0000 Subject: [PATCH] rpc client methods should be public for downstream usage 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,