Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Update BitcoinPool.cs
Browse files Browse the repository at this point in the history
Asicboost compatibility fixes with nicehash.
  • Loading branch information
Konstantin35 authored Apr 19, 2023
1 parent a553f62 commit 42b10a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Miningcore/Blockchain/Bitcoin/BitcoinPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,11 @@ private async Task OnConfigureMiningAsync(StratumConnection connection, Timestam
}
}

await connection.RespondAsync(result, request.Id);
var response = new JsonRpcResponse<object>(result, request.Id);
response.Extra = new Dictionary<string, object>();
response.Extra["error"] = null;

await connection.RespondAsync(response);
}

private void ConfigureVersionRolling(StratumConnection connection, BitcoinWorkerContext context,
Expand Down

0 comments on commit 42b10a9

Please sign in to comment.