Skip to content

Commit b9423e1

Browse files
committed
Small fix regarding an info message that should be debug and a unused var
1 parent b1e9a3e commit b9423e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/libp2p_port.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ defmodule LambdaEthereumConsensus.Libp2pPort do
485485
end
486486

487487
@impl GenServer
488-
def handle_info(:on_tick, %{genesis_time: genesis_time} = state) do
488+
def handle_info(:on_tick, state) do
489489
schedule_next_tick()
490490
time = :os.system_time(:second)
491491

@@ -758,7 +758,7 @@ defmodule LambdaEthereumConsensus.Libp2pPort do
758758
defp notify_validators(validators, msg) do
759759
start_time = System.monotonic_time(:millisecond)
760760

761-
Logger.info("[Libp2p] Notifying all Validators with message: #{inspect(msg)}")
761+
Logger.debug("[Libp2p] Notifying all Validators with message: #{inspect(msg)}")
762762

763763
updated_validators = Enum.map(validators, &notify_validator(&1, msg))
764764

0 commit comments

Comments
 (0)