Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
f56ea6c3
Commit
f56ea6c3
authored
Feb 23, 2024
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
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!250
allow oracle connexion through "insecure url"
Changes
1
Show 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;
...
@@ -26,7 +26,7 @@ pub type AccountId = subxt::utils::AccountId32;
pub
type
IdtyIndex
=
u32
;
pub
type
IdtyIndex
=
u32
;
pub
async
fn
client
(
rpc_url
:
String
)
->
Client
{
pub
async
fn
client
(
rpc_url
:
String
)
->
Client
{
Client
::
from_url
(
rpc_url
)
Client
::
from_
insecure_
url
(
rpc_url
)
.await
.await
.expect
(
"Cannot create RPC client"
)
.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
sign in
to comment