mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 23:16:53 +00:00
exchanges/engine: Add multichain deposit/withdrawal support (#794)
* Add exchange multichain support * Start tidying up * Add multichain transfer support for Bitfinex and fix poloniex bug * Add Coinbene multichain support * Start adjusting the deposit address manager * Fix deposit tests and further enhancements * Cleanup * Add bypass flag, expand tests plus error coverage for Huobi Adjust helpers * Address nitterinos * BFX wd changes * Address nitterinos * Minor fixes rebasing on master * Fix BFX acceptableMethods test * Add some TO-DOs for 2 tests WRT races * Fix acceptableMethods test round 2 * Address nitterinos
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//+build mock_test_off
|
||||
//go:build mock_test_off
|
||||
// +build mock_test_off
|
||||
|
||||
// This will build if build tag mock_test_off is parsed and will do live testing
|
||||
// using all tests in (exchange)_test.go
|
||||
@@ -35,9 +36,9 @@ func TestMain(m *testing.M) {
|
||||
if err != nil {
|
||||
log.Fatal("Gemini setup error", err)
|
||||
}
|
||||
err = g.API.Endpoints.SetRunning(exchange.RestSpot.String(), geminiSandboxAPIURL)
|
||||
err = g.API.Endpoints.SetRunning(exchange.RestSpot.String(), geminiAPIURL)
|
||||
if err != nil {
|
||||
log.Fatalf("endpoint setting failed. key: %s, val: %s", exchange.RestSpot.String(), geminiSandboxAPIURL)
|
||||
log.Fatalf("endpoint setting failed. key: %s, val: %s", exchange.RestSpot.String(), geminiAPIURL)
|
||||
}
|
||||
log.Printf(sharedtestvalues.LiveTesting, g.Name)
|
||||
os.Exit(m.Run())
|
||||
|
||||
Reference in New Issue
Block a user