Revert regression introduced in #1320

This commit is contained in:
nymkappa committed 2023-03-26 17:54:24 +09:00
1 parent 85c2f0ba30
commit 414383638d
1 file changed
+1 -1
+1 -1
View File
@@ -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++;