mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Companion PR to substrate/6178 (#1167)
* Cast keystore pointer * Update cargo.lock
This commit is contained in:
Generated
+270
-269
File diff suppressed because it is too large
Load Diff
@@ -279,6 +279,7 @@ macro_rules! new_full {
|
|||||||
use sc_network::Event;
|
use sc_network::Event;
|
||||||
use sc_client_api::ExecutorProvider;
|
use sc_client_api::ExecutorProvider;
|
||||||
use futures::stream::StreamExt;
|
use futures::stream::StreamExt;
|
||||||
|
use sp_core::traits::BareCryptoStorePtr;
|
||||||
|
|
||||||
let is_collator = $collating_for.is_some();
|
let is_collator = $collating_for.is_some();
|
||||||
let role = $config.role.clone();
|
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
|
// if the node isn't actively participating in consensus then it doesn't
|
||||||
// need a keystore, regardless of which protocol we use below.
|
// need a keystore, regardless of which protocol we use below.
|
||||||
let keystore = if is_authority {
|
let keystore = if is_authority {
|
||||||
Some(service.keystore())
|
Some(service.keystore() as BareCryptoStorePtr)
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user