APISecret should only be used to sign the request. (#157)

This commit is contained in:
Zhiyi Weng
2018-07-18 18:57:17 +08:00
committed by Adrian Gallagher
parent 322b67e5c8
commit aaf9f52a70

View File

@@ -488,7 +488,6 @@ func (b *Bittrex) SendAuthenticatedHTTPRequest(path string, values url.Values, r
b.Nonce.Inc()
}
values.Set("apikey", b.APIKey)
values.Set("apisecret", b.APISecret)
values.Set("nonce", b.Nonce.String())
rawQuery := path + "?" + values.Encode()
hmac := common.GetHMAC(