From b9015217de26fcd4dc8224d739c130f34ff1ce09 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Sun, 21 May 2023 11:05:34 +0100 Subject: [PATCH] Fixed bug causing final block to be missed in the reshape. --- src/main/java/org/qortal/repository/RepositoryManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/qortal/repository/RepositoryManager.java b/src/main/java/org/qortal/repository/RepositoryManager.java index fefaeea9..390c72c2 100644 --- a/src/main/java/org/qortal/repository/RepositoryManager.java +++ b/src/main/java/org/qortal/repository/RepositoryManager.java @@ -94,7 +94,7 @@ public abstract class RepositoryManager { int blockchainHeight = repository.getBlockRepository().getBlockchainHeight(); int totalTransactionCount = 0; - for (int height = 1; height < blockchainHeight; height++) { + for (int height = 1; height < blockchainHeight; ++height) { List inputTransactions = new ArrayList<>(); // Fetch block and transactions