Commit 5ee62e16 authored by Sergei Zubov's avatar Sergei Zubov

Fix working directory

parent a0083f21
...@@ -167,6 +167,7 @@ namespace Stratis.Bitcoin.Configuration ...@@ -167,6 +167,7 @@ namespace Stratis.Bitcoin.Configuration
// Set the full data directory path. // Set the full data directory path.
if (this.DataDir == null) if (this.DataDir == null)
{ {
var directoryName = network is DeStreamNetwork ? "DeStreamNode" : "StratisNode";
// Create the data directories if they don't exist. // Create the data directories if they don't exist.
this.DataDir = this.CreateDefaultDataDirectories(Path.Combine("StratisNode", this.Network.RootFolderName), this.Network); this.DataDir = this.CreateDefaultDataDirectories(Path.Combine("StratisNode", this.Network.RootFolderName), this.Network);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment