Unverified Commit 4234dee5 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 1fc6e5f8
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() as BareCryptoStorePtr)
} else {
Supports Markdown
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