forked from Qortal/qortal
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…
Reference in New Issue
Block a user