From b84df41c103021299a0e658250b8748c0bd8baf4 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:04:29 +0900 Subject: [PATCH] Fix bad commit from suggestion --- backend/src/repositories/BlocksRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/repositories/BlocksRepository.ts b/backend/src/repositories/BlocksRepository.ts index 15feb07d9..d06759a02 100644 --- a/backend/src/repositories/BlocksRepository.ts +++ b/backend/src/repositories/BlocksRepository.ts @@ -710,7 +710,7 @@ class BlocksRepository { const indexedTip = blocksByHash[hash]; const tipHeight = indexedTip?.height ?? (await bitcoinApi.$getBlock(hash))?.height; if (typeof tipHeight !== 'number') { -+ throw new Error(`Cannot validate chain: could not resolve tip block height for ${hash} from index or node`); + throw new Error(`Cannot validate chain: could not resolve tip block height for ${hash} from index or node`); } // stop at the last canonical block we're supposed to have indexed already