Skip to content

Commit

Permalink
Bugfix: Submit shares that are exactly equal to the target when round…
Browse files Browse the repository at this point in the history
…ed to a "diff"
  • Loading branch information
luke-jr committed Feb 3, 2025
1 parent 9797c1a commit 733ed49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/tasks/asic_result_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void ASIC_result_task(void *pvParameters)

ESP_LOGI(TAG, "Nonce difficulty %.2f of %ld.", nonce_diff, GLOBAL_STATE->ASIC_TASK_MODULE.active_jobs[job_id]->pool_diff);

if (nonce_diff > GLOBAL_STATE->ASIC_TASK_MODULE.active_jobs[job_id]->pool_diff)
if (nonce_diff >= GLOBAL_STATE->ASIC_TASK_MODULE.active_jobs[job_id]->pool_diff)
{
SYSTEM_notify_found_nonce(
&GLOBAL_STATE->SYSTEM_MODULE,
Expand Down

0 comments on commit 733ed49

Please sign in to comment.