From 5f86514d91f1474bb33c1793ade18a18b20785e7 Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Thu, 18 Jun 2020 03:34:54 -0400 Subject: [PATCH] edge: fix pool hashrate stat overwrite --- src/pool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pool.c b/src/pool.c index 593c433..850d405 100644 --- a/src/pool.c +++ b/src/pool.c @@ -935,6 +935,8 @@ update_pool_hr(void) } } log_debug("Pool hashrate: %"PRIu64, hr); + if (upstream_event) + return; pool_stats.pool_hashrate = hr; }