From e4c584c5d69f1bb915e3b9f93c047ff75fd03dc0 Mon Sep 17 00:00:00 2001 From: "Steve. S" Date: Sun, 19 Nov 2023 18:08:00 +1100 Subject: [PATCH] Update JsonRpcResponse.cs Asicboost fix --- src/Miningcore/JsonRpc/JsonRpcResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miningcore/JsonRpc/JsonRpcResponse.cs b/src/Miningcore/JsonRpc/JsonRpcResponse.cs index 15a0d2fe1..228d5ff54 100644 --- a/src/Miningcore/JsonRpc/JsonRpcResponse.cs +++ b/src/Miningcore/JsonRpc/JsonRpcResponse.cs @@ -50,7 +50,7 @@ public JsonRpcResponse(JsonRpcError ex, object id, object result) [JsonProperty(PropertyName = "result", NullValueHandling = NullValueHandling.Ignore)] public object Result { get; set; } - [JsonProperty(PropertyName = "error", NullValueHandling = NullValueHandling.Ignore)] + [JsonProperty("error")] public JsonRpcError Error { get; set; } [JsonProperty(PropertyName = "id", NullValueHandling = NullValueHandling.Ignore)]