chore: unify unchecked naming (#13391)

This commit is contained in:
Matthias Seitz
2024-12-13 19:34:37 +01:00
committed by GitHub
parent d087488479
commit a7ebd15d24
5 changed files with 6 additions and 6 deletions

View File

@ -187,7 +187,7 @@ impl<B: reth_primitives_traits::Block> BlockWithSenders<B> {
///
/// WARNING: This method does not perform validation whether the hash is correct.
#[inline]
pub fn seal(self, hash: B256) -> SealedBlockWithSenders<B> {
pub fn seal_unchecked(self, hash: B256) -> SealedBlockWithSenders<B> {
let Self { block, senders } = self;
SealedBlockWithSenders::<B> { block: block.seal(hash), senders }
}