Ignore getwork errors when switching to Stratum

This commit is contained in:
pooler 2013-06-10 10:42:13 +02:00
parent 7528a95fe1
commit 4aa1c3718e

View file

@ -410,6 +410,12 @@ static bool get_upstream_work(CURL *curl, struct work *work)
want_longpoll, false, NULL);
gettimeofday(&tv_end, NULL);
if (have_stratum) {
if (val)
json_decref(val);
return true;
}
if (!val)
return false;