diff --git a/beacon_node/beacon_chain/src/light_client_server_cache.rs b/beacon_node/beacon_chain/src/light_client_server_cache.rs index 3edb4e660b..333d8b8e32 100644 --- a/beacon_node/beacon_chain/src/light_client_server_cache.rs +++ b/beacon_node/beacon_chain/src/light_client_server_cache.rs @@ -295,7 +295,7 @@ impl LightClientServerCache { if sync_committee_period >= start_period + count { break; } - + let epoch = sync_committee_period .safe_mul(chain_spec.epochs_per_sync_committee_period.into())?; @@ -304,7 +304,7 @@ impl LightClientServerCache { let light_client_update = LightClientUpdate::from_ssz_bytes(&light_client_update_bytes, &fork_name) .map_err(store::errors::Error::SszDecodeError)?; - + light_client_updates.push(light_client_update); } Ok(light_client_updates) diff --git a/beacon_node/beacon_chain/src/metrics.rs b/beacon_node/beacon_chain/src/metrics.rs index f3219d2427..5d74c8fa58 100644 --- a/beacon_node/beacon_chain/src/metrics.rs +++ b/beacon_node/beacon_chain/src/metrics.rs @@ -1945,7 +1945,7 @@ pub static LIGHT_CLIENT_SERVER_CACHE_PROCESSING_REQUESTS: LazyLock> = +pub static LIGHT_CLIENT_SERVER_CACHE_PROCESSING_SUCCESSES: LazyLock> = LazyLock::new(|| { try_create_int_counter( "light_client_server_cache_processing_successes",