Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
liamaharon committed May 26, 2024
1 parent 47a76ca commit c6a143b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/common/empty_block/production.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::{
full_extensions,
};

pub async fn mine_block<Block: BlockT, HostFns: HostFunctions>(
pub async fn mine_block<Block, HostFns: HostFunctions>(
ext_mutex: Arc<Mutex<TestExternalities<HashingFor<Block>>>>,
executor: &WasmExecutor<HostFns>,
previous_block_building_info: Option<(InherentData, Digest)>,
Expand Down Expand Up @@ -83,7 +83,7 @@ where
}

/// Produces next block containing only inherents.
pub async fn produce_next_block<Block: BlockT, HostFns: HostFunctions>(
pub async fn produce_next_block<Block, HostFns: HostFunctions>(
ext_mutex: Arc<Mutex<TestExternalities<HashingFor<Block>>>>,
executor: &WasmExecutor<HostFns>,
parent_header: Block::Header,
Expand Down

0 comments on commit c6a143b

Please sign in to comment.