diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index 6406cd2..7e48b8e 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -136,7 +136,6 @@ func NewMetrics(port uint16, logLevel log.Level) (*Metrics, error) { } func (m *Metrics) setNewClient() error { - m.client = nil client, err := rpc.NewClient(rpc.ConnectionModeWebsocket, rpc.WithAutoConfig(), rpc.WithBaseURL(&url.URL{ Scheme: "wss", Host: viper.GetString("hostname"),