1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Disconnect from pool, if auth is failed

This commit is contained in:
elbandi 2014-04-26 00:47:53 +02:00
parent f9a2c8b929
commit 77545de0e8

2
util.c
View File

@ -1867,6 +1867,8 @@ bool auth_stratum(struct pool *pool)
applog(LOG_INFO, "%s JSON stratum auth failed: %s", get_pool_name(pool), ss);
free(ss);
suspend_stratum(pool);
goto out;
}