From 4b0e7215809a9f04eeff62aad61e0da15a8ec831 Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 10 Jan 2022 16:37:41 +0800 Subject: [PATCH] binance: change binance debug client env var name to debug-binance-client --- pkg/exchange/binance/exchange.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exchange/binance/exchange.go b/pkg/exchange/binance/exchange.go index c1ea801bd..da87590c0 100644 --- a/pkg/exchange/binance/exchange.go +++ b/pkg/exchange/binance/exchange.go @@ -72,7 +72,7 @@ var timeSetter sync.Once func New(key, secret string) *Exchange { var client = binance.NewClient(key, secret) client.HTTPClient = &http.Client{Timeout: 15 * time.Second} - client.Debug = viper.GetBool("debug") + client.Debug = viper.GetBool("debug-binance-client") var futuresClient = binance.NewFuturesClient(key, secret) futuresClient.HTTPClient = &http.Client{Timeout: 15 * time.Second}