forked from Qortal/qortal
Fixed issue causing the local repository data backup to be overwritten with an empty list.
This commit is contained in:
parent
71f802ef35
commit
289dae0780
@ -516,7 +516,6 @@ public class BlockChain {
|
|||||||
needsArchiveRebuild = (repository.getBlockArchiveRepository().fromHeight(2) == null);
|
needsArchiveRebuild = (repository.getBlockArchiveRepository().fromHeight(2) == null);
|
||||||
if (needsArchiveRebuild) {
|
if (needsArchiveRebuild) {
|
||||||
LOGGER.info("Couldn't retrieve block 2 from archive. Bootstrapping...");
|
LOGGER.info("Couldn't retrieve block 2 from archive. Bootstrapping...");
|
||||||
Controller.getInstance().exportRepositoryData();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user