From 4e3dba91beeb19e0acfd2c58523fd4aa5d0a346d Mon Sep 17 00:00:00 2001 From: Andronik Ordian Date: Thu, 25 Feb 2021 14:00:20 +0100 Subject: [PATCH] small cleanup after #2518 (#2527) --- polkadot/node/service/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/polkadot/node/service/src/lib.rs b/polkadot/node/service/src/lib.rs index 3d2fce8da0..20598ef442 100644 --- a/polkadot/node/service/src/lib.rs +++ b/polkadot/node/service/src/lib.rs @@ -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(