rpc client methods should be public for downstream usage (#240)

Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
Greg Hill
2021-03-08 13:09:39 +00:00
committed by GitHub
parent 201a13aa4e
commit 9959f0d299
+2 -2
View File
@@ -171,7 +171,7 @@ pub enum RpcClient {
}
impl RpcClient {
async fn request<T: DeserializeOwned>(
pub async fn request<T: DeserializeOwned>(
&self,
method: &str,
params: Params,
@@ -186,7 +186,7 @@ impl RpcClient {
}
}
async fn subscribe<T: DeserializeOwned>(
pub async fn subscribe<T: DeserializeOwned>(
&self,
subscribe_method: &str,
params: Params,