mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-26 17:51:45 +01:00
ckpool fix
This commit is contained in:
parent
35358e0e44
commit
73f4d4df3b
@ -96,7 +96,7 @@ void stratum_task(void * pvParameters)
|
||||
|
||||
if (stratum_api_v1_message.method == MINING_NOTIFY) {
|
||||
//ESP_LOGI(TAG, "Mining Notify");
|
||||
if (stratum_api_v1_message.should_abandon_work) { // I think this has concurrency issues? // && GLOBAL_STATE->stratum_queue.count > 0) {
|
||||
if (stratum_api_v1_message.should_abandon_work && GLOBAL_STATE->stratum_queue.count > 0) {
|
||||
ESP_LOGI(TAG, "abandoning work");
|
||||
|
||||
GLOBAL_STATE->abandon_work = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user