forked from Qortal/qortal
Fixed bug causing initial latestATStates data to be discarded.
This commit is contained in:
parent
c03f271825
commit
4c52d6f0fc
@ -42,6 +42,7 @@ public class AtStatesPruner implements Runnable {
|
|||||||
|
|
||||||
repository.discardChanges();
|
repository.discardChanges();
|
||||||
repository.getATRepository().rebuildLatestAtStates();
|
repository.getATRepository().rebuildLatestAtStates();
|
||||||
|
repository.saveChanges();
|
||||||
|
|
||||||
while (!Controller.isStopping()) {
|
while (!Controller.isStopping()) {
|
||||||
repository.discardChanges();
|
repository.discardChanges();
|
||||||
|
@ -29,6 +29,7 @@ public class AtStatesTrimmer implements Runnable {
|
|||||||
|
|
||||||
repository.discardChanges();
|
repository.discardChanges();
|
||||||
repository.getATRepository().rebuildLatestAtStates();
|
repository.getATRepository().rebuildLatestAtStates();
|
||||||
|
repository.saveChanges();
|
||||||
|
|
||||||
while (!Controller.isStopping()) {
|
while (!Controller.isStopping()) {
|
||||||
repository.discardChanges();
|
repository.discardChanges();
|
||||||
|
Loading…
Reference in New Issue
Block a user