diff --git a/crates/primitives/src/sealed.rs b/crates/primitives/src/sealed.rs index fdabe7714..6c896d78b 100644 --- a/crates/primitives/src/sealed.rs +++ b/crates/primitives/src/sealed.rs @@ -14,7 +14,7 @@ pub struct Sealed { #[deref] #[cfg_attr(feature = "serde", serde(flatten))] inner: T, - #[cfg_attr(feature = "serde", serde(flatten, alias = "hash"))] + #[cfg_attr(feature = "serde", serde(rename = "hash"))] /// Its hash. seal: B256, }