From 4dfc69d04e20c8ffa88bce689f8e2ef59a03b9a6 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Wed, 6 Nov 2024 14:23:04 +0100 Subject: [PATCH] Updated CryptoExchange.Net version --- Bitfinex.Net/Bitfinex.Net.csproj | 2 +- Bitfinex.Net/Bitfinex.Net.xml | 2 +- Bitfinex.Net/Clients/SpotApi/BitfinexSocketClientSpotApi.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Bitfinex.Net/Bitfinex.Net.csproj b/Bitfinex.Net/Bitfinex.Net.csproj index d154fc4..440a4cc 100644 --- a/Bitfinex.Net/Bitfinex.Net.csproj +++ b/Bitfinex.Net/Bitfinex.Net.csproj @@ -51,7 +51,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Bitfinex.Net/Bitfinex.Net.xml b/Bitfinex.Net/Bitfinex.Net.xml index 02a6924..be266d8 100644 --- a/Bitfinex.Net/Bitfinex.Net.xml +++ b/Bitfinex.Net/Bitfinex.Net.xml @@ -536,7 +536,7 @@ - + diff --git a/Bitfinex.Net/Clients/SpotApi/BitfinexSocketClientSpotApi.cs b/Bitfinex.Net/Clients/SpotApi/BitfinexSocketClientSpotApi.cs index 3045372..2ec3543 100644 --- a/Bitfinex.Net/Clients/SpotApi/BitfinexSocketClientSpotApi.cs +++ b/Bitfinex.Net/Clients/SpotApi/BitfinexSocketClientSpotApi.cs @@ -76,7 +76,7 @@ public override string FormatSymbol(string baseAsset, string quoteAsset, Trading public IBitfinexSocketClientSpotApiShared SharedClient => this; /// - protected override Query GetAuthenticationRequest(SocketConnection connection) + protected override Task GetAuthenticationRequestAsync(SocketConnection connection) { var authProvider = (BitfinexAuthenticationProvider)AuthenticationProvider!; var n = authProvider.GetNonce().ToString(); @@ -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(new BitfinexAuthQuery(authentication)); } ///