1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

The command for stratum is client.reconnect, not mining.reconnect.

This commit is contained in:
Con Kolivas 2012-10-10 23:56:24 +11:00
parent ef6ad423e3
commit 7c04a00e62

2
util.c
View File

@ -1169,7 +1169,7 @@ bool parse_method(struct pool *pool, char *s)
goto out; goto out;
} }
if (!strncasecmp(buf, "mining.reconnect", 16) && parse_reconnect(pool, params)) { if (!strncasecmp(buf, "client.reconnect", 16) && parse_reconnect(pool, params)) {
ret = true; ret = true;
goto out; goto out;
} }