mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
Companion PR to substrate/6178 (#1167)
* Cast keystore pointer * Update cargo.lock
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user