mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: misc sealed fn (#13378)
This commit is contained in:
@ -640,7 +640,7 @@ impl<N: NodePrimitives> BlockState<N> {
|
||||
pub fn block_with_senders(&self) -> BlockWithSenders<N::Block> {
|
||||
let block = self.block.block().clone();
|
||||
let senders = self.block.senders().clone();
|
||||
let (header, body) = block.split();
|
||||
let (header, body) = block.split_header_body();
|
||||
BlockWithSenders::new_unchecked(N::Block::new(header.unseal(), body), senders)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user