diff --git a/lib/archethic/beacon_chain/slot_timer.ex b/lib/archethic/beacon_chain/slot_timer.ex index 20e0af558..3805c6769 100644 --- a/lib/archethic/beacon_chain/slot_timer.ex +++ b/lib/archethic/beacon_chain/slot_timer.ex @@ -129,11 +129,11 @@ defmodule Archethic.BeaconChain.SlotTimer do slot_time = DateTime.utc_now() |> DateTime.truncate(:millisecond) - Logger.debug("Trigger beacon slots creation at #{Utils.time_to_string(slot_time)}") PubSub.notify_current_epoch_of_slot_timer(slot_time) case Crypto.first_node_public_key() |> P2P.get_node_info() |> elem(1) do %Node{authorized?: true, available?: true} -> + Logger.debug("Trigger beacon slots creation at #{Utils.time_to_string(slot_time)}") Enum.each(list_subset_processes(), &send(&1, {:create_slot, slot_time})) _ ->