From ed270c92fcdd342d55f0338131e9aaadfe7b2852 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 22 May 2014 11:08:01 +1000 Subject: [PATCH] PPLNS window should just be network diff --- src/stratifier.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index 33482d9e..1a803d04 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -814,11 +814,10 @@ static void block_solve(ckpool_t *ckp) user_instance_t *instance, *tmp; ck_rlock(&workbase_lock); - max_window = current_workbase->network_diff; + window = current_workbase->network_diff; ck_runlock(&workbase_lock); - window = max_window / 5; - max_window *= 5; + max_window = window * 5; LOGWARNING("Block solve user summary");