diff --git a/backend/src/tasks/pools-updater.ts b/backend/src/tasks/pools-updater.ts index dc76382d6..fb86d03be 100644 --- a/backend/src/tasks/pools-updater.ts +++ b/backend/src/tasks/pools-updater.ts @@ -17,7 +17,9 @@ class PoolsUpdater { treeUrl: string = config.MEMPOOL.POOLS_JSON_TREE_URL; public async updatePoolsJson(): Promise { - if (['mainnet', 'testnet', 'signet'].includes(config.MEMPOOL.NETWORK) === false) { + if (['mainnet', 'testnet', 'signet'].includes(config.MEMPOOL.NETWORK) === false || + config.MEMPOOL.ENABLED === false + ) { return; }