Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehao committed Jan 20, 2025
1 parent d22a49b commit a4fea38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/primitives/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ impl<B: reth_primitives_traits::Block> BlockWithSenders<B> {
}

/// Returns all senders of the transactions in the block.
#[allow(clippy::missing_const_for_fn)]
pub fn senders(&self) -> &[Address] {
&self.senders
}
Expand Down Expand Up @@ -519,6 +520,7 @@ impl<B: reth_primitives_traits::Block> SealedBlockWithSenders<B> {

impl<B: reth_primitives_traits::Block> SealedBlockWithSenders<B> {
/// Returns all senders of the transactions in the block.
#[allow(clippy::missing_const_for_fn)]
pub fn senders(&self) -> &[Address] {
&self.senders
}
Expand Down

0 comments on commit a4fea38

Please sign in to comment.