mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
fix(ftx): typo
This commit is contained in:
parent
1318f221b2
commit
bee3b913f2
|
@ -61,7 +61,7 @@ type loginArgs struct {
|
||||||
SubAccount string `json:"subaccount"`
|
SubAccount string `json:"subaccount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func newLoginRequest(key, secret string, t time.Time, subsaccount string) websocketRequest {
|
func newLoginRequest(key, secret string, t time.Time, subaccount string) websocketRequest {
|
||||||
millis := t.UnixNano() / int64(time.Millisecond)
|
millis := t.UnixNano() / int64(time.Millisecond)
|
||||||
return websocketRequest{
|
return websocketRequest{
|
||||||
Operation: login,
|
Operation: login,
|
||||||
|
@ -69,7 +69,7 @@ func newLoginRequest(key, secret string, t time.Time, subsaccount string) websoc
|
||||||
Key: key,
|
Key: key,
|
||||||
Signature: sign(secret, loginBody(millis)),
|
Signature: sign(secret, loginBody(millis)),
|
||||||
Time: millis,
|
Time: millis,
|
||||||
SubAccount: subsaccount,
|
SubAccount: subaccount,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user