Skip to content

Commit

Permalink
Updated CryptoExchange.Net version
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Nov 6, 2024
1 parent f032263 commit 4dfc69d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Bitfinex.Net/Bitfinex.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="CryptoExchange.Net" Version="8.1.0" />
<PackageReference Include="CryptoExchange.Net" Version="8.2.0" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion Bitfinex.Net/Bitfinex.Net.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Bitfinex.Net/Clients/SpotApi/BitfinexSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public override string FormatSymbol(string baseAsset, string quoteAsset, Trading
public IBitfinexSocketClientSpotApiShared SharedClient => this;

/// <inheritdoc />
protected override Query GetAuthenticationRequest(SocketConnection connection)
protected override Task<Query?> GetAuthenticationRequestAsync(SocketConnection connection)
{
var authProvider = (BitfinexAuthenticationProvider)AuthenticationProvider!;
var n = authProvider.GetNonce().ToString();
Expand All @@ -89,7 +89,7 @@ protected override Query GetAuthenticationRequest(SocketConnection connection)
};

authentication.Signature = authProvider.Sign(authentication.Payload).ToLower(CultureInfo.InvariantCulture);
return new BitfinexAuthQuery(authentication);
return Task.FromResult<Query?>(new BitfinexAuthQuery(authentication));
}

/// <inheritdoc />
Expand Down

0 comments on commit 4dfc69d

Please sign in to comment.