Skip to content

Commit

Permalink
remove invalid dispute subsystem replace (paritytech#4559)
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr authored and Wizdave97 committed Feb 3, 2022
1 parent 97e3e2a commit 1f16e74
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions node/service/src/overseer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,8 @@ impl OverseerGen for RealOverseerGen {
RuntimeClient::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,
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())
}
}

0 comments on commit 1f16e74

Please sign in to comment.