From 53b80f8bd4e8dc40093eed7fa43851391c325e3c Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Sun, 28 Jan 2018 20:29:11 +1100 Subject: [PATCH] ANX fix typo --- exchanges/anx/anx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exchanges/anx/anx.go b/exchanges/anx/anx.go index 2a68b5c7..da9c6202 100644 --- a/exchanges/anx/anx.go +++ b/exchanges/anx/anx.go @@ -26,7 +26,7 @@ const ( ANX_RECEIVE_ADDRESS = "receive" ANX_CREATE_ADDRESS = "receive/create" ANX_TICKER = "money/ticker" - ANX_DEPTH = "money/depth" + ANX_DEPTH = "money/depth/full" ) type ANX struct { @@ -93,7 +93,7 @@ func (a *ANX) GetTicker(currency string) (ANXTicker, error) { func (a *ANX) GetDepth(currency string) (Depth, error) { var depth Depth - err := common.SendHTTPGetRequest(fmt.Sprintf("%sapi/2/%s/%s", ANX_API_URL, currency, ANX_TICKER), true, a.Verbose, &depth) + err := common.SendHTTPGetRequest(fmt.Sprintf("%sapi/2/%s/%s", ANX_API_URL, currency, ANX_DEPTH), true, a.Verbose, &depth) if err != nil { return depth, err }