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

allow oracle connexion through "insecure url" (!250)

* 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"
......@@ -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