1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-18 03:43:00 +00:00

Fix for HandleUpdatesBeforeConfirmation if set on subscription itself

This commit is contained in:
JKorf
2024-03-20 12:03:19 +01:00
parent 87f5e12b60
commit 926802d953
2 changed files with 2 additions and 2 deletions
@@ -208,7 +208,7 @@ namespace CryptoExchange.Net.Clients
return socketResult.As<UpdateSubscription>(null);
socketConnection = socketResult.Data;
subscription.HandleUpdatesBeforeConfirmation = HandleMessageBeforeConfirmation;
subscription.HandleUpdatesBeforeConfirmation = subscription.HandleUpdatesBeforeConfirmation || HandleMessageBeforeConfirmation;
// Add a subscription on the socket connection
var success = socketConnection.AddSubscription(subscription);