Skip to content

Commit

Permalink
Revert "Fixing mining.configure order"
Browse files Browse the repository at this point in the history
This reverts commit edcf000.
  • Loading branch information
johnny9 committed Nov 15, 2023
1 parent edcf000 commit e5009e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/tasks/stratum_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ void stratum_task(void *pvParameters)
break;
}

STRATUM_V1_configure_version_rolling(GLOBAL_STATE->sock);

STRATUM_V1_subscribe(GLOBAL_STATE->sock, &GLOBAL_STATE->extranonce_str, &GLOBAL_STATE->extranonce_2_len,
GLOBAL_STATE->asic_model);

STRATUM_V1_configure_version_rolling(GLOBAL_STATE->sock);

char *username = nvs_config_get_string(NVS_CONFIG_STRATUM_USER, STRATUM_USER);
STRATUM_V1_authenticate(GLOBAL_STATE->sock, username);
free(username);
Expand Down

0 comments on commit e5009e1

Please sign in to comment.