Browse Source

Add user hashrate from remote shares

master
Con Kolivas 9 years ago
parent
commit
ad3d5e4a4f
  1. 3
      src/stratifier.c

3
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); copy_tv(&worker->last_share, &now_t);
worker->idle = false; 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); LOGINFO("Added %"PRId64" remote shares to worker %s", diff, workername);
} }

Loading…
Cancel
Save