chore: misc sealed fn (#13378)

This commit is contained in:
Matthias Seitz
2024-12-13 13:49:32 +01:00
committed by GitHub
parent f347977765
commit 088925c08a
3 changed files with 15 additions and 8 deletions

View File

@ -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)
}