From 7fa953e13d86ce8e27f72b1031ebab5cdfe05238 Mon Sep 17 00:00:00 2001 From: Amir Date: Mon, 18 Oct 2021 15:38:41 +0330 Subject: [PATCH] Release: v1.0.26-alpha --- CHANGELOG.md | 7 +++++++ api/ws/client.go | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f0aa9a..fc811c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Changelog ========= All notable changes to this project will be documented in this file. +v1.0.26-alpha +------------ + +### Changed + +- Removed extra login log entry + v1.0.25-alpha ------------ diff --git a/api/ws/client.go b/api/ws/client.go index 63a862d..67df3fe 100644 --- a/api/ws/client.go +++ b/api/ws/client.go @@ -10,7 +10,6 @@ import ( "github.com/amir-the-h/okex" "github.com/amir-the-h/okex/events" "github.com/gorilla/websocket" - "log" "net/http" "sync" "time" @@ -115,7 +114,6 @@ func (c *ClientWs) Login() error { if c.AuthRequested != nil && time.Since(*c.AuthRequested).Seconds() < 30 { return nil } - log.Println("login") now := time.Now() c.AuthRequested = &now c.mu[true].Unlock()