From 12ff58ebc5a5e2a6d2238ad9323db5b98f5b9543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Arjovsky?= Date: Tue, 2 Jul 2024 12:47:25 +0200 Subject: [PATCH] fix alias in clock --- lib/lambda_ethereum_consensus/beacon/clock.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lambda_ethereum_consensus/beacon/clock.ex b/lib/lambda_ethereum_consensus/beacon/clock.ex index cde0a4ab6..45d8f10e5 100644 --- a/lib/lambda_ethereum_consensus/beacon/clock.ex +++ b/lib/lambda_ethereum_consensus/beacon/clock.ex @@ -3,7 +3,7 @@ defmodule LambdaEthereumConsensus.Beacon.Clock do use GenServer - alias LambdaEthereumConsensus.Beacon.PendingBlocks + alias LambdaEthereumConsensus.Libp2pPort alias LambdaEthereumConsensus.Validator.ValidatorManager require Logger @@ -50,7 +50,7 @@ defmodule LambdaEthereumConsensus.Beacon.Clock do new_state = %{state | time: time} if time >= state.genesis_time do - LibP2pPort.on_tick(time) + Libp2pPort.on_tick(time) # TODO: reduce time between ticks to account for gnosis' 5s slot time. old_logical_time = compute_logical_time(state) new_logical_time = compute_logical_time(new_state)