Skip to content

Commit

Permalink
fix: Sealed::hash serde (#805)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
klkvr authored Nov 12, 2024
1 parent ac0319c commit 4e4a0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/primitives/src/sealed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Sealed<T> {
#[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,
}
Expand Down

0 comments on commit 4e4a0cd

Please sign in to comment.