From 272b6d2437f0fe817b954e71def3c12d70ab1a48 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 29 Nov 2022 23:47:43 +0900 Subject: [PATCH] Disable optimization in CPFP indexing when block summaries indexing is enabled --- backend/src/api/blocks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index f247617de..8c8272262 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -742,7 +742,7 @@ class Blocks { public async $indexCPFP(hash: string, height: number): Promise { let transactions; - if (Common.blocksSummariesIndexingEnabled()) { + if (false/*Common.blocksSummariesIndexingEnabled()*/) { transactions = await this.$getStrippedBlockTransactions(hash); const rawBlock = await bitcoinApi.$getRawBlock(hash); const block = Block.fromBuffer(rawBlock);