Add serde default field attr

I accidentally deleted it in the last commit.
This commit is contained in:
Paul Hauner 2019-03-15 18:38:58 +11:00
parent 49d3f3d1d6
commit f739bb5551
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -129,6 +129,7 @@ pub struct BeaconState {
#[ssz(skip_deserializing)]
#[tree_hash(skip_hashing)]
pub cache_index_offset: usize,
#[serde(default)]
#[ssz(skip_serializing)]
#[ssz(skip_deserializing)]
#[tree_hash(skip_hashing)]