mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-18 15:10:03 +00:00
APISecret should only be used to sign the request. (#157)
This commit is contained in:
committed by
Adrian Gallagher
parent
322b67e5c8
commit
aaf9f52a70
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user