@@ -42,7 +42,6 @@ pub use self::{
4242 error:: Error ,
4343 rpc:: { EngineCommand , CreatedBlock } ,
4444} ;
45- use sc_client_api:: { TransactionFor , Backend } ;
4645
4746/// The verifier for the manual seal engine; instantly finalizes.
4847struct ManualSealVerifier ;
@@ -66,17 +65,17 @@ impl<B: BlockT> Verifier<B> for ManualSealVerifier {
6665}
6766
6867/// Instantiate the import queue for the manual seal consensus engine.
69- pub fn import_queue < Block , B > (
70- block_import : BoxBlockImport < Block , TransactionFor < B , Block > > ,
68+ pub fn import_queue < Block , Transaction > (
69+ block_import : BoxBlockImport < Block , Transaction > ,
7170 spawner : & impl sp_core:: traits:: SpawnBlocking ,
72- ) -> BasicQueue < Block , TransactionFor < B , Block > >
71+ ) -> BasicQueue < Block , Transaction >
7372 where
7473 Block : BlockT ,
75- B : Backend < Block > + ' static ,
74+ Transaction : Send + Sync + ' static ,
7675{
7776 BasicQueue :: new (
7877 ManualSealVerifier ,
79- Box :: new ( block_import) ,
78+ block_import,
8079 None ,
8180 None ,
8281 spawner,
0 commit comments