mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
kraken futures: generate a larger nonce on requests (#854)
This commit is contained in:
@@ -303,7 +303,7 @@ func (k *Kraken) SendFuturesAuthRequest(ctx context.Context, method, path string
|
||||
|
||||
interim := json.RawMessage{}
|
||||
newRequest := func() (*request.Item, error) {
|
||||
nonce := strconv.FormatInt(time.Now().UnixMilli(), 10)
|
||||
nonce := strconv.FormatInt(time.Now().UnixNano(), 10)
|
||||
|
||||
sig, err := k.signFuturesRequest(path, nonce, dataToSign)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user