@@ -49,7 +49,7 @@ use sp_consensus::{
4949 SelectChain , Error as ConsensusError , CanAuthorWith , RecordProof , BlockImport ,
5050 BlockCheckParams , ImportResult ,
5151} ;
52- use sp_consensus:: import_queue:: { BoxBlockImport , BasicQueue , Verifier } ;
52+ use sp_consensus:: import_queue:: { BoxBlockImport , BasicQueue , Verifier , BoxJustificationImport , BoxFinalityProofImport } ;
5353use codec:: { Encode , Decode } ;
5454use sc_client_api;
5555use log:: * ;
@@ -457,6 +457,8 @@ pub type PowImportQueue<B, Transaction> = BasicQueue<B, Transaction>;
457457/// Import queue for PoW engine.
458458pub fn import_queue < B , Transaction , Algorithm > (
459459 block_import : BoxBlockImport < B , Transaction > ,
460+ justification_import : Option < BoxJustificationImport < B > > ,
461+ finality_proof_import : Option < BoxFinalityProofImport < B > > ,
460462 algorithm : Algorithm ,
461463 inherent_data_providers : InherentDataProviders ,
462464) -> Result <
@@ -474,8 +476,8 @@ pub fn import_queue<B, Transaction, Algorithm>(
474476 Ok ( BasicQueue :: new (
475477 verifier,
476478 block_import,
477- None ,
478- None
479+ justification_import ,
480+ finality_proof_import
479481 ) )
480482}
481483
0 commit comments