Skip to content

Commit c0c7938

Browse files
committed
use conditional block import
1 parent dc90812 commit c0c7938

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

node/src/consensus/babe_consensus.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ impl ConsensusMechanism for BabeConsensus {
194194

195195
self.babe_link = Some(babe_link);
196196
self.babe_worker_handle = Some(babe_worker_handle);
197-
Ok((import_queue, Box::new(babe_import) as BoxBlockImport<Block>))
197+
Ok((
198+
import_queue,
199+
Box::new(conditional_block_import) as BoxBlockImport<Block>,
200+
))
198201
},
199202
);
200203

0 commit comments

Comments
 (0)