mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-24 07:26:47 +00:00
FTX: allow authenticated tests to run
This commit is contained in:
@@ -54,7 +54,7 @@ func TestMain(m *testing.M) {
|
||||
exchCfg.API.Credentials.Key = apiKey
|
||||
exchCfg.API.Credentials.Secret = apiSecret
|
||||
exchCfg.API.Credentials.Subaccount = subaccount
|
||||
if areTestAPIKeysSet() {
|
||||
if apiKey != "" && apiSecret != "" {
|
||||
// Only set auth to true when keys present as fee online calculation requires authentication
|
||||
exchCfg.API.AuthenticatedSupport = true
|
||||
exchCfg.API.AuthenticatedWebsocketSupport = true
|
||||
|
||||
Reference in New Issue
Block a user