Fix Liqui nonce value

Addressed in https://github.com/thrasher-/gocryptotrader/pull/50
This commit is contained in:
Adrian Gallagher
2017-09-11 13:58:26 +10:00
parent 19331a13d4
commit 89848eb6e9

View File

@@ -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()
}