Disable optimization in CPFP indexing when block summaries indexing is enabled

This commit is contained in:
wiz authored and GitHub committed 2022-11-29 23:47:43 +09:00
1 parent aef131b1bf
commit 5347b86824
1 file changed
+1 -1
+1 -1
View File
@@ -742,7 +742,7 @@ class Blocks {
public async $indexCPFP(hash: string, height: number): Promise<void> {
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);