Browse Source

Disconnect from pool, if auth is failed

idlebug
elbandi 11 years ago
parent
commit
77545de0e8
  1. 2
      util.c

2
util.c

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

Loading…
Cancel
Save