mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 17:11:02 +00:00
This reverts commit 5f637c510e.
This commit is contained in:
committed by
GitHub
parent
d13d0d4f07
commit
d711673ee2
@@ -37,7 +37,7 @@ use polkadot_cli::{
|
||||
use polkadot_node_core_candidate_validation::CandidateValidationSubsystem;
|
||||
use polkadot_node_subsystem::{
|
||||
messages::{AllMessages, CandidateValidationMessage},
|
||||
overseer::{self, OverseerConnector, OverseerHandle},
|
||||
overseer::{self, OverseerHandle},
|
||||
FromOverseer,
|
||||
};
|
||||
|
||||
@@ -86,7 +86,6 @@ struct BehaveMaleficient;
|
||||
impl OverseerGen for BehaveMaleficient {
|
||||
fn generate<'a, Spawner, RuntimeClient>(
|
||||
&self,
|
||||
connector: OverseerConnector,
|
||||
args: OverseerGenArgs<'a, Spawner, RuntimeClient>,
|
||||
) -> Result<(Overseer<Spawner, Arc<RuntimeClient>>, OverseerHandle), Error>
|
||||
where
|
||||
@@ -114,7 +113,7 @@ impl OverseerGen for BehaveMaleficient {
|
||||
},
|
||||
);
|
||||
|
||||
Overseer::new(leaves, all_subsystems, registry, runtime_client, spawner, connector)
|
||||
Overseer::new(leaves, all_subsystems, registry, runtime_client, spawner)
|
||||
.map_err(|e| e.into())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user