From 5da94fa7930ccb0829280b0264ef6f79aa529592 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Tue, 17 May 2022 15:58:11 +0200 Subject: [PATCH] Delete useless log --- backend/src/api/blocks.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index 1f27d8c0e..293862e93 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -404,7 +404,6 @@ class Blocks { if (Common.indexingEnabled()) { const dbBlock = await blocksRepository.$getBlockByHash(hash); if (dbBlock != null) { - logger.info('GET BLOCK: already indexed'); return prepareBlock(dbBlock); } } @@ -413,12 +412,10 @@ class Blocks { // Not Bitcoin network, return the block as it if (['mainnet', 'testnet', 'signet'].includes(config.MEMPOOL.NETWORK) === false) { - logger.info('GET BLOCK: using bitcoin backend'); return block; } // Bitcoin network, add our custom data on top - logger.info('GET BLOCK: index block on the fly'); const transactions = await this.$getTransactionsExtended(hash, block.height, true); const blockExtended = await this.$getBlockExtended(block, transactions); if (Common.indexingEnabled()) {