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;