Skip to content

Commit

Permalink
Use justification_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
mishk committed Jul 30, 2022
1 parent 00537c9 commit e9ffa22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nodes/poscan-consensus/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ pub fn new_partial(
let can_author_with = sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone());

let pow_block_import = sc_consensus_poscan::PowBlockImport::new(
grandpa_block_import,
grandpa_block_import.clone(),
client.clone(),
poscan_grid2d::PoscanAlgorithm::new(client.clone()),
0, // check inherents starting at block 0
Expand All @@ -231,7 +231,7 @@ pub fn new_partial(

let import_queue = sc_consensus_poscan::import_queue(
Box::new(pow_block_import.clone()),
None,
Some(Box::new(grandpa_block_import)),
poscan_grid2d::PoscanAlgorithm::new(client.clone()),
&task_manager.spawn_essential_handle(),
config.prometheus_registry(),
Expand Down

0 comments on commit e9ffa22

Please sign in to comment.