Skip to content
Snippets Groups Projects
Commit 261d701c authored by Rakan Alhneiti's avatar Rakan Alhneiti Committed by GitHub
Browse files

Companion PR to substrate/6178 (#1167)

* Cast keystore pointer

* Update cargo.lock
parent 425f4bb0
Branches
No related merge requests found
This diff is collapsed.
......@@ -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
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment