fix bad merge

This commit is contained in:
nisdas
2021-07-29 19:25:34 +08:00
parent 2135108830
commit 3fe969992a

View File

@@ -164,9 +164,6 @@ func (s *Store) SaveStatesEfficient(ctx context.Context, states []state.ReadOnly
hashStr := string(hash[:])
validatorsEntries[hashStr] = val
}
// zero out the validators List from the state bucket so that it is not stored as part of it.
pbState.Validators = make([]*ethpb.Validator, 0)
validatorKeys[i] = snappy.Encode(nil, hashes)
}