mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
remove invalid dispute subsystem replace (#4559)
This commit is contained in:
1 parent
745f4fd5af
commit
8c5a172701
1 file changed
+3
-10
@@ -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())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user