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;
|
int currentHeight = startHeight + i;
|
||||||
if (currentHeight >= endHeight) {
|
if (currentHeight > endHeight) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -744,7 +744,7 @@ public class HSQLDBATRepository implements ATRepository {
|
|||||||
|
|
||||||
int deletedCount = 0;
|
int deletedCount = 0;
|
||||||
|
|
||||||
for (int height = minHeight; height < maxHeight; height++) {
|
for (int height = minHeight; height <= maxHeight; height++) {
|
||||||
|
|
||||||
// Give up if we're stopping
|
// Give up if we're stopping
|
||||||
if (Controller.isStopping()) {
|
if (Controller.isStopping()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user