mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 15:21:08 +00:00
rpc client methods should be public for downstream usage (#240)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user