Commit 7c04a00e629ad52b55cbff5c40f9d26f6118eb6e

Con Kolivas 2012-10-10T23:56:24

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index d5243ae..a9ac600 100644
--- a/util.c
+++ b/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;
 	}