Skip to content

Commit

Permalink
make db dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Oct 22, 2020
1 parent 94aeec9 commit b2dee42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/rosesnow/RoseSnow.java
Expand Up @@ -20,6 +20,7 @@
import java.util.logging.Level;
import java.util.logging.LogManager;
import java.util.logging.Logger;
import java.io.File;


/**
Expand Down Expand Up @@ -73,6 +74,8 @@ public static SnowBlossomNode getNode(NetworkIdentifier id, boolean start)
cm.put("addr_index", "true");
cm.put("db_path", getBaseDbPath() +"/" + network);

new File(getBaseDbPath() +"/" + network).mkdirs();


ConfigMem config = new ConfigMem(cm);

Expand Down

0 comments on commit b2dee42

Please sign in to comment.