diff --git a/backend/src/api/mempool.ts b/backend/src/api/mempool.ts index 1a6bce853..4d47fa0c1 100644 --- a/backend/src/api/mempool.ts +++ b/backend/src/api/mempool.ts @@ -180,9 +180,7 @@ class Mempool { } } - if (new Date().getTime() - start > 5_000) { - const progress = (currentMempoolSize + newTransactions.length) / transactions.length * 100; - logger.debug(`Mempool is synchronizing. Processed ${newTransactions.length}/${diff} txs (${Math.round(progress)}%)`); + if (Date.now() - intervalTimer > 5_000) { if (this.inSync) { // Break and restart mempool loop if we spend too much time processing