Added missing repository.saveChanges() when reimporting data after creating a bootstrap.

This commit is contained in:
CalDescent 2021-10-09 16:57:53 +01:00
parent a7f212c4f2
commit e7bf4f455d

View File

@ -293,6 +293,7 @@ public class Bootstrap {
Path exportPath = HSQLDBImportExport.getExportDirectory(false);
repository.importDataFromFile(Paths.get(exportPath.toString(), "TradeBotStates.json").toString());
repository.importDataFromFile(Paths.get(exportPath.toString(), "MintingAccounts.json").toString());
repository.saveChanges();
} catch (IOException e) {
LOGGER.info("Unable to re-import local data, but created bootstrap is still valid. {}", e);