mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-22 19:07:51 +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);
|
initConfig(defaultConfigPath);
|
||||||
//reticulum = new Reticulum(configPath);
|
//reticulum = new Reticulum(configPath);
|
||||||
reticulum = new Reticulum(defaultConfigPath);
|
reticulum = new Reticulum(defaultConfigPath);
|
||||||
|
var identitiesPath = reticulum.getStoragePath().resolve("identities");
|
||||||
|
if (Files.notExists(identitiesPath)) {
|
||||||
|
Files.createDirectories(identitiesPath);
|
||||||
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error("unable to create Reticulum network", e);
|
log.error("unable to create Reticulum network", e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user