forked from Qortal/qortal
Added missing repository.saveChanges() when reimporting data after creating a bootstrap.
This commit is contained in:
parent
a7f212c4f2
commit
e7bf4f455d
@ -293,6 +293,7 @@ public class Bootstrap {
|
|||||||
Path exportPath = HSQLDBImportExport.getExportDirectory(false);
|
Path exportPath = HSQLDBImportExport.getExportDirectory(false);
|
||||||
repository.importDataFromFile(Paths.get(exportPath.toString(), "TradeBotStates.json").toString());
|
repository.importDataFromFile(Paths.get(exportPath.toString(), "TradeBotStates.json").toString());
|
||||||
repository.importDataFromFile(Paths.get(exportPath.toString(), "MintingAccounts.json").toString());
|
repository.importDataFromFile(Paths.get(exportPath.toString(), "MintingAccounts.json").toString());
|
||||||
|
repository.saveChanges();
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOGGER.info("Unable to re-import local data, but created bootstrap is still valid. {}", e);
|
LOGGER.info("Unable to re-import local data, but created bootstrap is still valid. {}", e);
|
||||||
|
Loading…
Reference in New Issue
Block a user