diff --git a/util.c b/util.c index 873d8e59..1a3901bd 100644 --- a/util.c +++ b/util.c @@ -2392,7 +2392,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);