chore: misc SealedBlock prep (#13736)

This commit is contained in:
Matthias Seitz
2025-01-08 16:07:52 +01:00
committed by GitHub
parent b5734bfb65
commit f2521b54de
6 changed files with 12 additions and 36 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_header_body();
let (header, body) = block.split();
BlockWithSenders::new_unchecked(N::Block::new(header.unseal(), body), senders)
}