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

Update BitcoinPool.cs #1667

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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