Skip to content

Commit

Permalink
Updated KC-API-KEY-VERSION to version 3 (version 2 keys still work)
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Jul 19, 2024
1 parent 7a2d12f commit b92fc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kucoin.Net/KucoinAuthenticationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public override void AuthenticateRequest(
headers.Add("KC-API-KEY", _credentials.Key!.GetString());
headers.Add("KC-API-TIMESTAMP", GetMillisecondTimestamp(apiClient).ToString());
headers.Add("KC-API-PASSPHRASE", SignHMACSHA256(_credentials.PassPhrase.GetString(), SignOutputType.Base64));
headers.Add("KC-API-KEY-VERSION", "2");
headers.Add("KC-API-KEY-VERSION", "3");

string jsonContent = string.Empty;
if (parameterPosition == HttpMethodParameterPosition.InBody)
Expand Down

0 comments on commit b92fc98

Please sign in to comment.