Commit bde02c58 authored by Sergei Zubov's avatar Sergei Zubov

Fix working directory

parent a178a7d9
......@@ -167,8 +167,9 @@ namespace Stratis.Bitcoin.Configuration
// Set the full data directory path.
if (this.DataDir == null)
{
var directoryName = this.Network is DeStreamNetwork ? "DeStreamNode" : "StratisNode";
// 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(directoryName, this.Network.RootFolderName), this.Network);
}
else
{
......
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