Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Jan 8, 2024
1 parent 9644c6c commit c4f820b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl<TConsensusSpec: ConsensusSpec> OnReceiveProposalHandler<TConsensusSpec> {
epoch_manager: epoch_manager.clone(),
leader_strategy: leader_strategy.clone(),
pacemaker,
transaction_pool,
transaction_pool: transaction_pool.clone(),
on_ready_to_vote_on_local_block: OnReadyToVoteOnLocalBlock::new(
validator_addr,
store,
Expand Down Expand Up @@ -183,6 +183,7 @@ impl<TConsensusSpec: ConsensusSpec> OnReceiveProposalHandler<TConsensusSpec> {

/// Perform final block validations (TODO: implement all validations)
/// We assume at this point that initial stateless validations have been done (in inbound messages)
#[allow(clippy::too_many_lines)]
fn validate_local_proposed_block(
&self,
tx: &mut <TConsensusSpec::StateStore as StateStore>::WriteTransaction<'_>,
Expand Down

0 comments on commit c4f820b

Please sign in to comment.