edge: fix pool hashrate stat overwrite

This commit is contained in:
Jethro Grassie 2020-06-18 03:34:54 -04:00
parent d544a042ae
commit 5f86514d91
No known key found for this signature in database
GPG Key ID: DE8ED755616565BB
1 changed files with 2 additions and 0 deletions

View File

@ -935,6 +935,8 @@ update_pool_hr(void)
}
}
log_debug("Pool hashrate: %"PRIu64, hr);
if (upstream_event)
return;
pool_stats.pool_hashrate = hr;
}