Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tranvictor committed Dec 6, 2017
1 parent 1070c6a commit f1f3a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/binance/binance_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (self *BinanceEndpoint) fillRequest(req *http.Request, signNeeded bool, tim
q := req.URL.Query()
sig := url.Values{}
req.Header.Set("X-MBX-APIKEY", self.signer.GetBinanceKey())
q.Set("timestamp", fmt.Sprintf("%d", timepoint-3000))
q.Set("timestamp", fmt.Sprintf("%d", timepoint-5000))
q.Set("recvWindow", "7000")
sig.Set("signature", self.signer.BinanceSign(q.Encode()))
// Using separated values map for signature to ensure it is at the end
Expand Down

0 comments on commit f1f3a6b

Please sign in to comment.