From 630d9a7cd77d6b43078cf0dc47147c1e00aeaa71 Mon Sep 17 00:00:00 2001 From: "Steve. S" Date: Sun, 19 Nov 2023 18:06:03 +1100 Subject: [PATCH] Update BitcoinPool.cs Asicboost fix --- src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs b/src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs index 9cd035599..9bc8cd612 100644 --- a/src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs +++ b/src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs @@ -275,7 +275,11 @@ private async Task OnConfigureMiningAsync(StratumConnection connection, Timestam } } - await connection.RespondAsync(result, request.Id); + var response = new JsonRpcResponse(result, request.Id); + response.Extra = new Dictionary(); + response.Extra["error"] = null; + + await connection.RespondAsync(response); } private void ConfigureVersionRolling(StratumConnection connection, BitcoinWorkerContext context,