diff --git a/main/tasks/stratum_task.c b/main/tasks/stratum_task.c index 94d47bd8e..430b6c13b 100644 --- a/main/tasks/stratum_task.c +++ b/main/tasks/stratum_task.c @@ -253,6 +253,9 @@ void stratum_task(void * pvParameters) //mining.suggest_difficulty - ID: 4 STRATUM_V1_suggest_difficulty(GLOBAL_STATE->sock, STRATUM_DIFFICULTY); + // Everything is set up, lets make sure we don't abandon work unnecessarily. + GLOBAL_STATE->abandon_work = 0; + while (1) { char * line = STRATUM_V1_receive_jsonrpc_line(GLOBAL_STATE->sock); if (!line) {