mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-19 07:26:49 +00:00
GDAX: Remove unused variable and adjust gdax unauth rate limiter value
This commit is contained in:
@@ -53,8 +53,6 @@ const (
|
||||
gdaxUnauthRate = 3
|
||||
)
|
||||
|
||||
var sometin []string
|
||||
|
||||
// GDAX is the overarching type across the GDAX package
|
||||
type GDAX struct {
|
||||
exchange.Base
|
||||
|
||||
@@ -2,6 +2,7 @@ package gdax
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/thrasher-/gocryptotrader/config"
|
||||
)
|
||||
@@ -17,6 +18,7 @@ const (
|
||||
|
||||
func TestSetDefaults(t *testing.T) {
|
||||
g.SetDefaults()
|
||||
g.Requester.SetRateLimit(false, time.Second, 1)
|
||||
}
|
||||
|
||||
func TestSetup(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user