mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 13:57:58 +00:00
@@ -417,13 +417,8 @@ where
|
||||
use polkadot_statement_distribution::StatementDistribution as StatementDistributionSubsystem;
|
||||
use polkadot_availability_recovery::AvailabilityRecoverySubsystem;
|
||||
use polkadot_approval_distribution::ApprovalDistribution as ApprovalDistributionSubsystem;
|
||||
|
||||
#[cfg(feature = "real-overseer")]
|
||||
use polkadot_node_core_approval_voting::ApprovalVotingSubsystem;
|
||||
|
||||
#[cfg(not(feature = "real-overseer"))]
|
||||
let _ = approval_voting_config; // silence.
|
||||
|
||||
let all_subsystems = AllSubsystems {
|
||||
availability_distribution: AvailabilityDistributionSubsystem::new(
|
||||
keystore.clone(),
|
||||
@@ -498,13 +493,10 @@ where
|
||||
approval_distribution: ApprovalDistributionSubsystem::new(
|
||||
Metrics::register(registry)?,
|
||||
),
|
||||
#[cfg(feature = "real-overseer")]
|
||||
approval_voting: ApprovalVotingSubsystem::with_config(
|
||||
approval_voting_config,
|
||||
keystore.clone(),
|
||||
)?,
|
||||
#[cfg(not(feature = "real-overseer"))]
|
||||
approval_voting: polkadot_subsystem::DummySubsystem,
|
||||
};
|
||||
|
||||
Overseer::new(
|
||||
|
||||
Reference in New Issue
Block a user