diff --git a/exchanges/bitfinex/bitfinex_websocket.go b/exchanges/bitfinex/bitfinex_websocket.go index 84fa436b725..24719c57cc0 100644 --- a/exchanges/bitfinex/bitfinex_websocket.go +++ b/exchanges/bitfinex/bitfinex_websocket.go @@ -1668,8 +1668,8 @@ func (b *Bitfinex) resubOrderbook(c *subscription.Subscription) error { return nil } -// GenerateDefaultSubscriptions Adds default subscriptions to websocket to be handled by ManageSubscriptions() -func (b *Bitfinex) GenerateDefaultSubscriptions() (subscription.List, error) { +// generateSubscriptions Adds default subscriptions to websocket to be handled by ManageSubscriptions() +func (b *Bitfinex) generateSubscriptions() (subscription.List, error) { var channels = []string{wsBook, wsTrades, wsTicker, wsCandles} var subscriptions subscription.List diff --git a/exchanges/bitfinex/bitfinex_wrapper.go b/exchanges/bitfinex/bitfinex_wrapper.go index 8258de9ddcc..1ae452b4c84 100644 --- a/exchanges/bitfinex/bitfinex_wrapper.go +++ b/exchanges/bitfinex/bitfinex_wrapper.go @@ -208,7 +208,7 @@ func (b *Bitfinex) Setup(exch *config.Exchange) error { Connector: b.WsConnect, Subscriber: b.Subscribe, Unsubscriber: b.Unsubscribe, - GenerateSubscriptions: b.GenerateDefaultSubscriptions, + GenerateSubscriptions: b.generateSubscriptions, Features: &b.Features.Supports.WebsocketCapabilities, OrderbookBufferConfig: buffer.Config{ UpdateEntriesByID: true,