diff --git a/util.c b/util.c index d1846437..16aa98a4 100644 --- a/util.c +++ b/util.c @@ -2505,7 +2505,8 @@ resend: goto out; } n2size = json_integer_value(json_array_get(res_val, 2)); - if (!n2size) { + if (n2size < 1) + { applog(LOG_INFO, "Failed to get n2size in initiate_stratum"); free(sessionid); free(nonce1);