Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Nov 23, 2024
1 parent f61a764 commit 0d9c027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/primitives-traits/src/block/body.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Block body abstraction.
use alloc::fmt;
use alloc::{fmt, vec::Vec};

use alloy_consensus::Transaction;

Expand Down
6 changes: 3 additions & 3 deletions crates/primitives/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{
};

/// Extension trait for [`reth_primitives_traits::Block`] implementations
/// allowing for conversions into common block parts cotainers such as [`SealedBlock`],
/// allowing for conversions into common block parts containers such as [`SealedBlock`],
/// [`BlockWithSenders`], etc.
pub trait BlockSealExt: Block {
/// Calculate the header hash and seal the block so that it can't be changed.
Expand Down Expand Up @@ -53,7 +53,7 @@ pub trait BlockSealExt: Block {
///
/// If the number of senders does not match the number of transactions in the block, this falls
/// back to manually recovery, but _without ensuring that the signature has a low `s` value_.
/// See also [`TransactionSigned::recover_signer_unchecked`]
/// See also [`recover_signers_unchecked`]
///
/// Returns an error if a signature is invalid.
#[track_caller]
Expand Down Expand Up @@ -111,7 +111,7 @@ pub trait BlockBodyTxExt: BlockBody {
/// signature has a low `s` value_.
///
/// Returns `None`, if some transaction's signature is invalid, see also
/// [`recover_signer_unchecked`].
/// [`recover_signers_unchecked`].
fn recover_signers_unchecked(&self) -> Option<Vec<Address>>
where
Self::Transaction: SignedTransaction,
Expand Down

0 comments on commit 0d9c027

Please sign in to comment.