Skip to content
Snippets Groups Projects
Unverified Commit 2781b240 authored by psychocrypt's avatar psychocrypt Committed by GitHub
Browse files

Merge pull request #1263 from fireice-uk/topic-nicehash-workaround

Yet another nicehash workaround -.-
parents 4879048c 3b0fe5b1
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,12 @@ bool jpsock::process_line(char* line, size_t len)
if(!mt->IsString())
return set_socket_error("PARSE error: Protocol error 1");
if(strcmp(mt->GetString(), "mining.set_extranonce") == 0)
{
printer::inst()->print_msg(L0, "Detected buggy NiceHash pool code. Workaround engaged.");
return true;
}
if(strcmp(mt->GetString(), "job") != 0)
return set_socket_error("PARSE error: Unsupported server method ", mt->GetString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment