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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
ee51277f
Commit
ee51277f
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
FIX SyncCryptoStore → Keystore
parent
f117e97c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
node/src/service.rs
+6
-7
6 additions, 7 deletions
node/src/service.rs
with
6 additions
and
7 deletions
node/src/service.rs
+
6
−
7
View file @
ee51277f
...
@@ -438,7 +438,7 @@ where
...
@@ -438,7 +438,7 @@ where
telemetry
.as_ref
()
.map
(|
x
|
x
.handle
()),
telemetry
.as_ref
()
.map
(|
x
|
x
.handle
()),
);
);
let
sync_crypto
store_ptr
=
keystore_container
.
sync_
keystore
();
let
key
store_ptr
=
keystore_container
.keystore
();
let
client
=
client
.clone
();
let
client
=
client
.clone
();
if
sealing
.is_manual_consensus
()
{
if
sealing
.is_manual_consensus
()
{
...
@@ -506,8 +506,8 @@ where
...
@@ -506,8 +506,8 @@ where
let
client
=
client
.clone
();
let
client
=
client
.clone
();
let
distance_dir
=
distance_dir
.clone
();
let
distance_dir
=
distance_dir
.clone
();
let
babe_owner_keys
=
let
babe_owner_keys
=
std
::
sync
::
Arc
::
new
(
sp_keystore
::
SyncCryptoS
tore
::
sr25519_public_keys
(
std
::
sync
::
Arc
::
new
(
sp_keystore
::
Keys
tore
::
sr25519_public_keys
(
sync_crypto
store_ptr
.as_ref
(),
key
store_ptr
.as_ref
(),
sp_runtime
::
KeyTypeId
(
*
b"babe"
),
sp_runtime
::
KeyTypeId
(
*
b"babe"
),
));
));
async
move
{
async
move
{
...
@@ -548,8 +548,8 @@ where
...
@@ -548,8 +548,8 @@ where
let
client
=
client
.clone
();
let
client
=
client
.clone
();
let
distance_dir
=
distance_dir
.clone
();
let
distance_dir
=
distance_dir
.clone
();
let
babe_owner_keys
=
let
babe_owner_keys
=
std
::
sync
::
Arc
::
new
(
sp_keystore
::
SyncCryptoS
tore
::
sr25519_public_keys
(
std
::
sync
::
Arc
::
new
(
sp_keystore
::
Keys
tore
::
sr25519_public_keys
(
sync_crypto
store_ptr
.as_ref
(),
key
store_ptr
.as_ref
(),
sp_runtime
::
KeyTypeId
(
*
b"babe"
),
sp_runtime
::
KeyTypeId
(
*
b"babe"
),
));
));
...
@@ -564,8 +564,7 @@ where
...
@@ -564,8 +564,7 @@ where
let
storage_proof
=
let
storage_proof
=
sp_transaction_storage_proof
::
registration
::
new_data_provider
(
sp_transaction_storage_proof
::
registration
::
new_data_provider
(
&*
client_clone
,
&*
client
,
&
parent
,
&
parent
,
)
?
;
)
?
;
let
distance
=
dc_distance
::
create_distance_inherent_data_provider
::
<
let
distance
=
dc_distance
::
create_distance_inherent_data_provider
::
<
...
...
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