forked from Qortal/qortal
Fixed off-by-one bug (correctly this time)
This commit is contained in:
parent
c763445e6e
commit
aea1cc62c8
@ -108,7 +108,7 @@ public abstract class RepositoryManager {
|
|||||||
int blockchainHeight = repository.getBlockRepository().getBlockchainHeight();
|
int blockchainHeight = repository.getBlockRepository().getBlockchainHeight();
|
||||||
int totalTransactionCount = 0;
|
int totalTransactionCount = 0;
|
||||||
|
|
||||||
for (int height = 1; height < blockchainHeight; ++height) {
|
for (int height = 1; height <= blockchainHeight; ++height) {
|
||||||
List<TransactionData> inputTransactions = new ArrayList<>();
|
List<TransactionData> inputTransactions = new ArrayList<>();
|
||||||
|
|
||||||
// Fetch block and transactions
|
// Fetch block and transactions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user