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
d549b744
Commit
d549b744
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
allow connexion to "insecure url"
parent
ceb5d93c
No related branches found
No related tags found
No related merge requests found
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 @
d549b744
...
@@ -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.
Hugo Trentesaux
@HugoTrentesaux
mentioned in commit
82d01fd5
·
1 year ago
mentioned in commit
82d01fd5
mentioned in commit 82d01fd5a7f75590015f61b269693a68e5e67210
Toggle commit list
Hugo Trentesaux
@HugoTrentesaux
mentioned in merge request
!250 (merged)
·
1 year ago
mentioned in merge request
!250 (merged)
mentioned in merge request !250
Toggle commit list
Hugo Trentesaux
@HugoTrentesaux
mentioned in commit
f56ea6c3
·
1 year ago
mentioned in commit
f56ea6c3
mentioned in commit f56ea6c343ddecba3ccf5e39bf498a220ad0ac7b
Toggle commit list
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