fix chaintip lookup in $classifyBlocks

This commit is contained in:
Mononaut 2025-09-21 12:00:36 +00:00
parent 00a046ed55
commit 39020aa499
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

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