Quotes around SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY in the API (#3074)

## Issue Addressed

#3073 

## Proposed Changes

Add around `SAFE_SLOTS_TO_IMPORT_OPTIMISTICALLY` in the API

Co-authored-by: realbigsean <sean@sigmaprime.io>
This commit is contained in:
realbigsean 2022-03-13 21:57:04 +00:00
parent 15b8811580
commit 925e9241d1

View File

@ -796,6 +796,7 @@ pub struct Config {
pub terminal_block_hash_activation_epoch: Epoch, pub terminal_block_hash_activation_epoch: Epoch,
// TODO(merge): remove this default // TODO(merge): remove this default
#[serde(default = "default_safe_slots_to_import_optimistically")] #[serde(default = "default_safe_slots_to_import_optimistically")]
#[serde(with = "eth2_serde_utils::quoted_u64")]
pub safe_slots_to_import_optimistically: u64, pub safe_slots_to_import_optimistically: u64,
#[serde(with = "eth2_serde_utils::quoted_u64")] #[serde(with = "eth2_serde_utils::quoted_u64")]