fix service build: enable notifications protocol only under real overseer (#1894)

Co-authored-by: Robert Habermeier <rob@rob.tech>
This commit is contained in:
Robert HabermeierandRobert Habermeier authored and GitHub committed 2020-10-31 19:25:58 +01:00
1 parent f82de7b993
commit ad9e1fdf75
1 file changed
+1
+1
View File
@@ -503,6 +503,7 @@ pub fn new_full<RuntimeApi, Executor>(
let (shared_voter_state, finality_proof_provider) = rpc_setup;
#[cfg(feature = "real-overseer")]
config.network.notifications_protocols.extend(polkadot_network_bridge::notifications_protocol_info());
let (network, network_status_sinks, system_rpc_tx, network_starter) =