From 4a9058fc1c116ca79367bf1063b0f8bb9457b214 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Thu, 7 Aug 2025 14:15:00 +0200 Subject: [PATCH] Fix response type in websocket queries not interested in the response --- CryptoExchange.Net/Sockets/MessageMatcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CryptoExchange.Net/Sockets/MessageMatcher.cs b/CryptoExchange.Net/Sockets/MessageMatcher.cs index d73a4e7..2ca7107 100644 --- a/CryptoExchange.Net/Sockets/MessageMatcher.cs +++ b/CryptoExchange.Net/Sockets/MessageMatcher.cs @@ -47,7 +47,7 @@ namespace CryptoExchange.Net.Sockets /// public static MessageMatcher Create(string value) { - return new MessageMatcher(new MessageHandlerLink(MessageLinkType.Full, value, (con, msg) => CallResult.SuccessResult)); + return new MessageMatcher(new MessageHandlerLink(MessageLinkType.Full, value, (con, msg) => new CallResult(default, msg.OriginalData, null))); } ///