remove unused client field

This commit is contained in:
c9s 2022-05-23 15:09:40 +08:00
parent 9414b02fba
commit d88e41c20c
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -24,8 +24,6 @@ const SandboxRestBaseURL = "https://openapi-sandbox.kucoin.com/api"
type RestClient struct {
requestgen.BaseAPIClient
client *http.Client
Key, Secret, Passphrase string
KeyVersion string
@ -49,9 +47,6 @@ func NewClient() *RestClient {
},
},
KeyVersion: "2",
client: &http.Client{
Timeout: defaultHTTPTimeout,
},
}
client.AccountService = &AccountService{client: client}