Browse Source

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

Con Kolivas 13 years ago
parent
commit
7c04a00e62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util.c

+ 1 - 1
util.c

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