Skip to content

Commit

Permalink
Merge branch 'master' into tadeo-hepperle-browser-extension-signing-e…
Browse files Browse the repository at this point in the history
…xample
  • Loading branch information
tadeohepperle committed Jul 20, 2023
1 parent c0a63ef commit d5c969a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subxt/src/client/online_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,9 @@ mod jsonrpsee_helpers {

/// Build web RPC client from URL
pub async fn client(url: &str) -> Result<Client, Error> {
let (sender, receiver) = web::connect(url).await.map_err(|e| Error::Transport(e.into()))?;
let (sender, receiver) = web::connect(url)
.await
.map_err(|e| Error::Transport(e.into()))?;
Ok(ClientBuilder::default()
.max_notifs_per_subscription(4096)
.build_with_wasm(sender, receiver))
Expand Down

0 comments on commit d5c969a

Please sign in to comment.