Disable optimization in CPFP indexing when block summaries indexing is enabled

This commit is contained in:
wiz
2022-11-29 23:47:43 +09:00
committed by GitHub
parent 89293b4358
commit 272b6d2437

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);