forked from Qortal/qortal
Fixed some bugs found in unit testing.
This commit is contained in:
parent
2a36b83dea
commit
6a55b052f5
@ -97,7 +97,7 @@ public class BlockArchiveWriter {
|
||||
}
|
||||
|
||||
int currentHeight = startHeight + i;
|
||||
if (currentHeight >= endHeight) {
|
||||
if (currentHeight > endHeight) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -744,7 +744,7 @@ public class HSQLDBATRepository implements ATRepository {
|
||||
|
||||
int deletedCount = 0;
|
||||
|
||||
for (int height = minHeight; height < maxHeight; height++) {
|
||||
for (int height = minHeight; height <= maxHeight; height++) {
|
||||
|
||||
// Give up if we're stopping
|
||||
if (Controller.isStopping()) {
|
||||
|
Loading…
Reference in New Issue
Block a user