We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8951d commit 29f9d37Copy full SHA for 29f9d37
node/src/consensus/hybrid_import_queue.rs
@@ -81,7 +81,7 @@ impl HybridBlockImport {
81
grandpa_block_import.clone(),
82
client.clone(),
83
)
84
- .unwrap();
+ .expect("Failed to create Babe block_import");
85
86
let inner_babe = ConditionalEVMBlockImport::new(
87
babe_import.clone(),
@@ -144,6 +144,7 @@ where
144
C: HeaderBackend<B> + HeaderMetadata<B, Error = sp_blockchain::Error>,
145
SC: SelectChain<B> + 'static,
146
{
147
+ #[allow(clippy::too_many_arguments)]
148
pub fn new(
149
client: Arc<C>,
150
create_inherent_data_providers: CIDP,
0 commit comments