diff --git a/crates/client/src/chain_api.rs b/crates/client/src/chain_api.rs index 24d536fdf..1e83fb1d4 100644 --- a/crates/client/src/chain_api.rs +++ b/crates/client/src/chain_api.rs @@ -37,7 +37,8 @@ pub mod entropy {} /// Creates an api instance to talk to chain /// Chain endpoint set on launch pub async fn get_api(url: &str) -> Result, subxt::Error> { - let api = OnlineClient::::from_url(url).await?; + // insecure url is fine since binaries are on the same machine + let api = OnlineClient::::from_insecure_url(url).await?; Ok(api) }