Skip to content

Commit

Permalink
ANX fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasher- committed Jan 28, 2018
1 parent 292d150 commit 53b80f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchanges/anx/anx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 53b80f8

Please sign in to comment.