mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Fix bad commit from suggestion
This commit is contained in:
parent
0a9509520e
commit
b84df41c10
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue