Always re-indexing blocks when updating mining pools

This commit is contained in:
nymkappa committed 2023-05-25 09:08:51 -07:00
1 parent d27febf878
commit 8ffe2f3156
1 file changed
-4
-4
View File
@@ -118,10 +118,6 @@ class PoolsParser {
* @param pool
*/
private async $deleteBlocksForPool(pool: PoolTag): Promise<void> {
if (config.MEMPOOL.AUTOMATIC_BLOCK_REINDEXING === false) {
return;
}
// Get oldest blocks mined by the pool and assume pools-v2.json updates only concern most recent years
// Ignore early days of Bitcoin as there were no mining pool yet
const [oldestPoolBlock]: any[] = await DB.query(`