From 84b686b05484a411828196b02102af4d5f137524 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 9 Oct 2019 16:53:59 +0300 Subject: [PATCH] fix build --- apps/explorer/lib/explorer/chain/events/db_sender.ex | 2 -- apps/explorer/lib/explorer/chain/events/simple_sender.ex | 2 -- 2 files changed, 4 deletions(-) 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