From a8eb9357eeccefc78d46073a26163888cbc04258 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 26 Jul 2014 14:41:09 +1000 Subject: [PATCH] Only update stats on authorised clients --- src/stratifier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stratifier.c b/src/stratifier.c index d5c27b2e..40d7ca0b 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2163,6 +2163,9 @@ static void update_userstats(ckpool_t *ckp) uint8_t cycle_mask; int elapsed; + if (!client->authorised) + continue; + /* Send one lot of stats once the client is idle if they have submitted * no shares in the last 10 minutes with the idle bool set. */ if (client->idle && client->notified_idle)