Browse Source

Disconnect from pool, if auth is failed

djm34
elbandi 11 years ago committed by Jan Berdajs
parent
commit
c469ff923a
  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