diff --git a/consensus/types/src/aggregate_and_proof.rs b/consensus/types/src/aggregate_and_proof.rs index ae80369130..6ae0df4ad7 100644 --- a/consensus/types/src/aggregate_and_proof.rs +++ b/consensus/types/src/aggregate_and_proof.rs @@ -31,7 +31,7 @@ use tree_hash_derive::TreeHash; ), ref_attributes( derive(Debug, PartialEq, TreeHash, Serialize,), - serde(bound = "E: EthSpec"), + serde(untagged, bound = "E: EthSpec"), tree_hash(enum_behaviour = "transparent") ) )]