Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
parity
Mirrored projects
polkadot-sdk
Commits
261d701c
Commit
261d701c
authored
4 years ago
by
Rakan Alhneiti
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Companion PR to substrate/6178 (#1167)
* Cast keystore pointer * Update cargo.lock
parent
425f4bb0
Branches
Branches containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
polkadot/Cargo.lock
+270
-269
270 additions, 269 deletions
polkadot/Cargo.lock
polkadot/service/src/lib.rs
+2
-1
2 additions, 1 deletion
polkadot/service/src/lib.rs
with
272 additions
and
270 deletions
polkadot/Cargo.lock
+
270
−
269
View file @
261d701c
This diff is collapsed.
Click to expand it.
polkadot/service/src/lib.rs
+
2
−
1
View file @
261d701c
...
...
@@ -279,6 +279,7 @@ macro_rules! new_full {
use
sc_network
::
Event
;
use
sc_client_api
::
ExecutorProvider
;
use
futures
::
stream
::
StreamExt
;
use
sp_core
::
traits
::
BareCryptoStorePtr
;
let
is_collator
=
$collating_for
.is_some
();
let
role
=
$config
.role
.clone
();
...
...
@@ -474,7 +475,7 @@ macro_rules! new_full {
// if the node isn't actively participating in consensus then it doesn't
// need a keystore, regardless of which protocol we use below.
let
keystore
=
if
is_authority
{
Some
(
service
.keystore
())
Some
(
service
.keystore
()
as
BareCryptoStorePtr
)
}
else
{
None
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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