diff --git a/exchanges/huobi/huobi_websocket.go b/exchanges/huobi/huobi_websocket.go index a1ab7f0b9b7..cf0fc875440 100644 --- a/exchanges/huobi/huobi_websocket.go +++ b/exchanges/huobi/huobi_websocket.go @@ -692,9 +692,8 @@ func channelName(s *subscription.Subscription, p *currency.Pair) string { if n, ok := subscriptionNames[name]; ok { if p != nil { return fmt.Sprintf(n, p) - } else { - return n } + return n } panic(subscription.ErrPrivateChannelName) }