From aa7e502d9516efb9ba9e218125ee2300e8a1e0d3 Mon Sep 17 00:00:00 2001 From: Crystal Lemire Date: Wed, 22 Nov 2023 16:15:22 -0800 Subject: [PATCH] Revert ServiceName changes. --- protocol/daemons/bridge/client/client.go | 5 ----- protocol/daemons/liquidation/client/client.go | 5 ----- protocol/daemons/pricefeed/client/client.go | 5 ----- 3 files changed, 15 deletions(-) diff --git a/protocol/daemons/bridge/client/client.go b/protocol/daemons/bridge/client/client.go index 8f50823588e..1a05126c3bf 100644 --- a/protocol/daemons/bridge/client/client.go +++ b/protocol/daemons/bridge/client/client.go @@ -39,11 +39,6 @@ func NewClient(logger log.Logger) *Client { } } -// ServiceName returns the name of the bridge daemon service. -func (c *Client) ServiceName() string { - return constants.BridgeDaemonModuleName -} - // Start begins a job that periodically runs the RunBridgeDaemonTaskLoop function. func (c *Client) Start( ctx context.Context, diff --git a/protocol/daemons/liquidation/client/client.go b/protocol/daemons/liquidation/client/client.go index 6b960d157c2..5d622f69a44 100644 --- a/protocol/daemons/liquidation/client/client.go +++ b/protocol/daemons/liquidation/client/client.go @@ -39,11 +39,6 @@ func NewClient(logger log.Logger) *Client { } } -// ServiceName returns the name of the liquidations daemon service. -func (c *Client) ServiceName() string { - return types.LiquidationsDaemonServiceName -} - // Start begins a job that periodically: // 1) Queries a gRPC server for all subaccounts including their open positions. // 2) Checks collateralization statuses of subaccounts with at least one open position. diff --git a/protocol/daemons/pricefeed/client/client.go b/protocol/daemons/pricefeed/client/client.go index 522a1a988c8..fc2b9d549a6 100644 --- a/protocol/daemons/pricefeed/client/client.go +++ b/protocol/daemons/pricefeed/client/client.go @@ -78,11 +78,6 @@ func newClient(logger log.Logger) *Client { return client } -// ServiceName returns the name of the pricefeed daemon service. -func (c *Client) ServiceName() string { - return constants.PricefeedDaemonModuleName -} - // newTickerWithStop creates a new ticker and a channel for iteratively looping through a subtask with a stop signal // for any subtask kicked off by the client. The ticker and channel are tracked in order to properly clean up and send // all needed stop signals when the daemon is stopped.