Bump jsonrpsee (#528)

* Update jsonrpsee

* Update ws_client builder
This commit is contained in:
Andrew Jones
2022-05-09 11:48:15 +01:00
committed by GitHub
parent 6d73172560
commit 199cfa744b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -564,7 +564,7 @@ pub async fn ws_client(url: &str) -> Result<RpcClient, RpcError> {
let (sender, receiver) = ws_transport(url).await?;
Ok(RpcClientBuilder::default()
.max_notifs_per_subscription(4096)
.build(sender, receiver))
.build_with_tokio(sender, receiver))
}
async fn ws_transport(url: &str) -> Result<(WsSender, WsReceiver), RpcError> {