main: add subscribe output parameters

This commit is contained in:
johnny9 2023-05-03 00:00:09 -04:00
parent 10fc3d017e
commit 9f0ecd28cd

View File

@ -113,7 +113,10 @@ static void tcp_client_task(void *pvParameters)
auth_to_stratum(sock, "johnny9.esp");
subscribe_to_stratum(sock);
char * extranonce_str;
int extranonce_2_len;
subscribe_to_stratum(sock, &extranonce_str, &extranonce_2_len);
while (1)
{