From 2055f0e2e87e3b05a601e8438bfb1ff753eb766f Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 20 Feb 2015 21:30:28 +1100 Subject: [PATCH] Demote nonce length warning for subproxies --- src/generator.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/generator.c b/src/generator.c index 421fa6d3..8bd3ea57 100644 --- a/src/generator.c +++ b/src/generator.c @@ -650,8 +650,13 @@ retry: goto out; } if (size < 3) { - LOGWARNING("Proxy %d:%d %s Nonce2 length %d too small for fast miners", - proxi->id, proxi->subid, proxi->si->url, size); + if (!proxi->subid) { + LOGWARNING("Proxy %d %s Nonce2 length %d too small for fast miners", + proxi->id, proxi->si->url, size); + } else { + LOGNOTICE("Proxy %d:%d Nonce2 length %d too small for fast miners", + proxi->id, proxi->subid, size); + } } proxi->nonce2len = size; if (parent_proxy(proxi)) {