From f40e6fbd1061c9c695b8cc75b85c2ef20f228ef9 Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Fri, 15 Nov 2024 11:14:17 +0100 Subject: [PATCH] Mecanix found that we are not updating the difficulty mask properly --- main/tasks/asic_task.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/tasks/asic_task.c b/main/tasks/asic_task.c index 8314b116b..d6db3c2ec 100644 --- a/main/tasks/asic_task.c +++ b/main/tasks/asic_task.c @@ -39,6 +39,7 @@ void ASIC_task(void *pvParameters) if (next_bm_job->pool_diff != GLOBAL_STATE->stratum_difficulty) { ESP_LOGI(TAG, "New pool difficulty %lu", next_bm_job->pool_diff); + (*GLOBAL_STATE->ASIC_functions.set_difficulty_mask_fn)(next_bm_job->pool_diff); GLOBAL_STATE->stratum_difficulty = next_bm_job->pool_diff; }