Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
f56ea6c3
Commit
f56ea6c3
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
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
!250
allow oracle connexion through "insecure url"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
distance-oracle/src/api.rs
+1
-1
1 addition, 1 deletion
distance-oracle/src/api.rs
with
1 addition
and
1 deletion
distance-oracle/src/api.rs
+
1
−
1
View file @
f56ea6c3
...
...
@@ -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"
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment