From abf38eea03b0b3a60712ba007913928bb834386f Mon Sep 17 00:00:00 2001 From: ckolivas Date: Sat, 5 Dec 2015 23:55:09 +1100 Subject: [PATCH] Fix reading of workerstats for 1hr --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index f93d0f99..4f393781 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2365,7 +2365,7 @@ static void read_workerstats(ckpool_t *ckp, worker_instance_t *worker) copy_tv(&worker->last_decay, &now); worker->dsps1 = dsps_from_key(val, "hashrate1m"); worker->dsps5 = dsps_from_key(val, "hashrate5m"); - worker->dsps60 = dsps_from_key(val, "hashrate1d"); + worker->dsps60 = dsps_from_key(val, "hashrate1hr"); worker->dsps1440 = dsps_from_key(val, "hashrate1d"); worker->dsps10080 = dsps_from_key(val, "hashrate7d"); json_get_double(&worker->best_diff, val, "bestshare");