1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-30 00:14:20 +00:00

create data directory for testnet

This commit is contained in:
orignal 2017-07-20 10:31:59 -04:00
parent d608ac5878
commit d2d0fde233

View File

@ -1116,7 +1116,10 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific)
path = GetDefaultDataDir();
}
if (fNetSpecific && GetBoolArg("-testnet", false))
{
fs::create_directory(path);
path /= "testnet3";
}
fs::create_directory(path);