From 39020aa499f666b70fecc1ebc8167e47f6112e2a Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sun, 21 Sep 2025 12:00:36 +0000 Subject: [PATCH] fix chaintip lookup in $classifyBlocks --- backend/src/api/blocks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index aa1fa9751..e21bc516b 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -582,8 +582,7 @@ class Blocks { return; } - const blockchainInfo = await bitcoinClient.getBlockchainInfo(); - const currentBlockHeight = blockchainInfo.blocks; + const currentBlockHeight = this.getCurrentBlockHeight(); const targetSummaryVersion: number = 1; const targetTemplateVersion: number = 1;