diff --git a/crates/primitives-traits/src/block/sealed.rs b/crates/primitives-traits/src/block/sealed.rs index 0ef109117c..440491e931 100644 --- a/crates/primitives-traits/src/block/sealed.rs +++ b/crates/primitives-traits/src/block/sealed.rs @@ -282,6 +282,13 @@ where } } +impl From> for SealedBlock { + fn from(sealed: Sealed) -> Self { + let (block, hash) = sealed.into_parts(); + Self::new_unchecked(block, hash) + } +} + impl Default for SealedBlock where B: Block + Default,