diff --git a/crates/primitives/src/sealed.rs b/crates/primitives/src/sealed.rs index 708c52cfc..232bc6baa 100644 --- a/crates/primitives/src/sealed.rs +++ b/crates/primitives/src/sealed.rs @@ -63,6 +63,15 @@ impl Sealed { } } +impl Default for Sealed +where + T: Sealable + Default, +{ + fn default() -> Self { + T::default().seal_slow() + } +} + #[cfg(feature = "arbitrary")] impl<'a, T> arbitrary::Arbitrary<'a> for Sealed where