Skip to content
Snippets Groups Projects
Commit 82d01fd5 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

allow connexion to "insecure url"

(cherry picked from commit d549b744)
parent 3da9f54d
No related branches found
No related tags found
1 merge request!250allow oracle connexion through "insecure url"
Pipeline #36314 waiting for manual action
......@@ -26,7 +26,7 @@ pub type AccountId = subxt::utils::AccountId32;
pub type IdtyIndex = u32;
pub async fn client(rpc_url: String) -> Client {
Client::from_url(rpc_url)
Client::from_insecure_url(rpc_url)
.await
.expect("Cannot create RPC client")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment