From 414383638ddcab7a016b90ac2bd9c53aefb862eb Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Sun, 26 Mar 2023 17:54:24 +0900 Subject: [PATCH] Revert regression introduced in #1320 --- backend/src/api/blocks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index f9b14d637..755b3c3ad 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -558,7 +558,7 @@ class Blocks { } while (this.currentBlockHeight < blockHeightTip) { - if (this.currentBlockHeight < blockHeightTip - config.MEMPOOL.INITIAL_BLOCKS_AMOUNT) { + if (this.currentBlockHeight === 0) { this.currentBlockHeight = blockHeightTip; } else { this.currentBlockHeight++;