[mining] fix pools updater only running at start
This commit is contained in:
@@ -239,6 +239,7 @@ class Server {
|
||||
if (config.FIAT_PRICE.ENABLED) {
|
||||
priceUpdater.$run();
|
||||
}
|
||||
await poolsUpdater.updatePoolsJson();
|
||||
|
||||
// rerun immediately if we skipped the mempool update, otherwise wait POLL_RATE_MS
|
||||
const elapsed = Date.now() - start;
|
||||
|
||||
Reference in New Issue
Block a user