GDAX: Remove unused variable and adjust gdax unauth rate limiter value

This commit is contained in:
Adrian Gallagher
2018-05-04 14:27:05 +10:00
parent e789a28271
commit 1a473fb59c
2 changed files with 2 additions and 2 deletions

View File

@@ -53,8 +53,6 @@ const (
gdaxUnauthRate = 3
)
var sometin []string
// GDAX is the overarching type across the GDAX package
type GDAX struct {
exchange.Base

View File

@@ -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) {