diff --git a/apps/explorer/lib/explorer/chain/events/db_sender.ex b/apps/explorer/lib/explorer/chain/events/db_sender.ex index 0ea1c8eecf..2891e8bde2 100644 --- a/apps/explorer/lib/explorer/chain/events/db_sender.ex +++ b/apps/explorer/lib/explorer/chain/events/db_sender.ex @@ -9,8 +9,6 @@ defmodule Explorer.Chain.Events.DBSender do send_notify(payload) end - def send_data(_event_type, :catchup, _event_data), do: :ok - def send_data(event_type, broadcast_type, event_data) do payload = encode_payload({:chain_event, event_type, broadcast_type, event_data}) send_notify(payload) diff --git a/apps/explorer/lib/explorer/chain/events/simple_sender.ex b/apps/explorer/lib/explorer/chain/events/simple_sender.ex index d72fe9b895..f2a8da3e06 100644 --- a/apps/explorer/lib/explorer/chain/events/simple_sender.ex +++ b/apps/explorer/lib/explorer/chain/events/simple_sender.ex @@ -11,8 +11,6 @@ defmodule Explorer.Chain.Events.SimpleSender do end) end - def send_data(_event_type, :catchup, _event_data), do: :ok - def send_data(event_type) do Registry.dispatch(Registry.ChainEvents, event_type, fn entries -> for {pid, _registered_val} <- entries do