Fixed bug causing final block to be missed in the reshape.

This commit is contained in:
CalDescent 2023-05-21 11:05:34 +01:00
parent e1043ceacb
commit b9015217de

View File

@ -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<TransactionData> inputTransactions = new ArrayList<>();
// Fetch block and transactions