mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-14 11:15:49 +00:00
create identities directory if it does not exist
This commit is contained in:
parent
afc2884707
commit
6c5fedd456
@ -102,6 +102,10 @@ public class RNSNetwork {
|
||||
initConfig(defaultConfigPath);
|
||||
//reticulum = new Reticulum(configPath);
|
||||
reticulum = new Reticulum(defaultConfigPath);
|
||||
var identitiesPath = reticulum.getStoragePath().resolve("identities");
|
||||
if (Files.notExists(identitiesPath)) {
|
||||
Files.createDirectories(identitiesPath);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
log.error("unable to create Reticulum network", e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user