mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-20 23:16:49 +00:00
Fix Liqui nonce value
Addressed in https://github.com/thrasher-/gocryptotrader/pull/50
This commit is contained in:
@@ -263,7 +263,7 @@ func (l *Liqui) SendAuthenticatedHTTPRequest(method string, values url.Values, r
|
||||
}
|
||||
|
||||
if l.Nonce.Get() == 0 {
|
||||
l.Nonce.Set(time.Now().UnixNano())
|
||||
l.Nonce.Set(time.Now().Unix())
|
||||
} else {
|
||||
l.Nonce.Inc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user