Skip to content

Commit

Permalink
fix alias in clock
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkenan committed Jul 2, 2024
1 parent 71c3a89 commit 12ff58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lambda_ethereum_consensus/beacon/clock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule LambdaEthereumConsensus.Beacon.Clock do

use GenServer

alias LambdaEthereumConsensus.Beacon.PendingBlocks
alias LambdaEthereumConsensus.Libp2pPort
alias LambdaEthereumConsensus.Validator.ValidatorManager

require Logger
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 12ff58e

Please sign in to comment.