Skip to content

Commit 29f9d37

Browse files
committed
clippy
1 parent 8b8951d commit 29f9d37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

node/src/consensus/hybrid_import_queue.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl HybridBlockImport {
8181
grandpa_block_import.clone(),
8282
client.clone(),
8383
)
84-
.unwrap();
84+
.expect("Failed to create Babe block_import");
8585

8686
let inner_babe = ConditionalEVMBlockImport::new(
8787
babe_import.clone(),
@@ -144,6 +144,7 @@ where
144144
C: HeaderBackend<B> + HeaderMetadata<B, Error = sp_blockchain::Error>,
145145
SC: SelectChain<B> + 'static,
146146
{
147+
#[allow(clippy::too_many_arguments)]
147148
pub fn new(
148149
client: Arc<C>,
149150
create_inherent_data_providers: CIDP,

0 commit comments

Comments
 (0)