From 8f1559c7c15b39b7bcd5f025b7141b1421d710ae Mon Sep 17 00:00:00 2001 From: Paulo Date: Thu, 6 Jan 2022 01:07:32 +0000 Subject: [PATCH] fix remote node --- Cargo.toml | 2 +- examples/fetch_remote.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 776121b2b5..3b2070bec9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ chameleon = "0.1.0" scale-info = { version = "1.0.0", features = ["bit-vec"] } futures = "0.3.13" hex = "0.4.3" -jsonrpsee = { version = "0.7.0", features = ["macros", "ws-client", "http-client"] } +jsonrpsee = { version = "0.7.0", features = ["macros", "ws-client", "http-client", "client-ws-transport"] } log = "0.4.14" num-traits = { version = "0.2.14", default-features = false } serde = { version = "1.0.124", features = ["derive"] } diff --git a/examples/fetch_remote.rs b/examples/fetch_remote.rs index bb1100afe2..bb8c30ff90 100644 --- a/examples/fetch_remote.rs +++ b/examples/fetch_remote.rs @@ -24,7 +24,7 @@ async fn main() -> Result<(), Box> { env_logger::init(); let api = ClientBuilder::new() - .set_url("wss://rpc.polkadot.io") + .set_url("wss://rpc.polkadot.io:443") .build() .await? .to_runtime_api::>();