From 4d2ee802cd25b6ac6987c0d9c8bdae68e821169d Mon Sep 17 00:00:00 2001 From: pooler Date: Wed, 8 Feb 2012 15:47:32 +0100 Subject: [PATCH] Do not skip submission of old work This increases compatibility with p2pool --- cpu-miner.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpu-miner.c b/cpu-miner.c index 6065652..2116520 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -265,10 +265,6 @@ static bool submit_upstream_work(CURL *curl, const struct work *work) double hashrate; int i; bool rc = false; - - /* pass if the previous hash is not the current previous hash */ - if (memcmp(work->data + 4, g_work.data + 4, 32)) - return true; /* build hex string */ hexstr = bin2hex(work->data, sizeof(work->data));