pull/2449/head
Ayrat Badykov 5 years ago
parent ad68c42fe0
commit 84b686b054
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/explorer/lib/explorer/chain/events/db_sender.ex
  2. 2
      apps/explorer/lib/explorer/chain/events/simple_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)

@ -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

Loading…
Cancel
Save