mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-09 07:26:48 +00:00
Bugfix: Bitstamp race condition and ANX format directive issue (#342)
* Fix issue for ANX live testing, incorrect format directive * Used cpy of Balances as param for Bitstamp function, added space for ANX fatal error. * Fix linter issue * Drop struct field for balance and localised a variable in each individual getfee call as needed
This commit is contained in:
committed by
Adrian Gallagher
parent
6d8ba0a96a
commit
c191dfc666
@@ -20,7 +20,7 @@ func TestMain(m *testing.M) {
|
||||
cfg.LoadConfig("../../testdata/configtest.json")
|
||||
anxConfig, err := cfg.GetExchangeConfig("ANX")
|
||||
if err != nil {
|
||||
log.Fatalf("Test Failed - ANX Setup() init error", err)
|
||||
log.Fatal("Test Failed - ANX Setup() init error ", err)
|
||||
}
|
||||
anxConfig.AuthenticatedAPISupport = true
|
||||
anxConfig.APIKey = apiKey
|
||||
|
||||
Reference in New Issue
Block a user