mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
Add serde default field attr
I accidentally deleted it in the last commit.
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user