From 1f16e743b7c9ade08f60f1be998b961052eb7553 Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Sat, 18 Dec 2021 14:12:01 +0100 Subject: [PATCH] remove invalid dispute subsystem replace (#4559) --- node/service/src/overseer.rs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/node/service/src/overseer.rs b/node/service/src/overseer.rs index 0d42673f2142..f112da381c64 100644 --- a/node/service/src/overseer.rs +++ b/node/service/src/overseer.rs @@ -331,15 +331,8 @@ impl OverseerGen for RealOverseerGen { RuntimeClient::Api: ParachainHost + BabeApi + AuthorityDiscoveryApi, Spawner: 'static + SpawnNamed + Clone + Unpin, { - let disputes_enabled = args.disputes_enabled; - let builder = prepared_overseer_builder(args)?; - if disputes_enabled { - builder - .dispute_coordinator(DisputeCoordinatorSubsystem::dummy()) - .build_with_connector(connector) - } else { - builder.build_with_connector(connector) - } - .map_err(|e| e.into()) + prepared_overseer_builder(args)? + .build_with_connector(connector) + .map_err(|e| e.into()) } }