From ad3d5e4a4f5d453e7103ac847239185857bc3ca2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 6 Jan 2016 15:38:25 +1100 Subject: [PATCH] Add user hashrate from remote shares --- src/stratifier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stratifier.c b/src/stratifier.c index f0221ccc..b3d7a6aa 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5492,6 +5492,9 @@ static void parse_remote_shares(sdata_t *sdata, json_t *val, const char *buf) copy_tv(&worker->last_share, &now_t); worker->idle = false; + decay_user(user, diff, &now_t); + copy_tv(&user->last_share, &now_t); + LOGINFO("Added %"PRId64" remote shares to worker %s", diff, workername); }