mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: unify unchecked naming (#13391)
This commit is contained in:
@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user