From 040bd1974933e7f0235b135436510f88f756be90 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 16 Sep 2017 09:39:48 +1000 Subject: [PATCH] Not being a block is likely. --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 566ea90d..1e3a4c48 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5890,7 +5890,7 @@ test_blocksolve(const stratum_instance_t *client, const workbase_t *wb, const uc bool ret; /* Submit anything over 99.9% of the diff in case of rounding errors */ - if (diff < sdata->current_workbase->network_diff * 0.999) + if (likely(diff < sdata->current_workbase->network_diff * 0.999)) return; LOGWARNING("Possible %sblock solve diff %lf !", stale ? "stale share " : "", diff);