diff --git a/exchanges/gdax/gdax.go b/exchanges/gdax/gdax.go index c2c1f22b..8ded7b30 100644 --- a/exchanges/gdax/gdax.go +++ b/exchanges/gdax/gdax.go @@ -53,8 +53,6 @@ const ( gdaxUnauthRate = 3 ) -var sometin []string - // GDAX is the overarching type across the GDAX package type GDAX struct { exchange.Base diff --git a/exchanges/gdax/gdax_test.go b/exchanges/gdax/gdax_test.go index 522c976d..68a525e6 100644 --- a/exchanges/gdax/gdax_test.go +++ b/exchanges/gdax/gdax_test.go @@ -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) {