mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-01-30 08:24:20 +00:00
create data directory for testnet
This commit is contained in:
parent
d608ac5878
commit
d2d0fde233
@ -1116,7 +1116,10 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific)
|
|||||||
path = GetDefaultDataDir();
|
path = GetDefaultDataDir();
|
||||||
}
|
}
|
||||||
if (fNetSpecific && GetBoolArg("-testnet", false))
|
if (fNetSpecific && GetBoolArg("-testnet", false))
|
||||||
|
{
|
||||||
|
fs::create_directory(path);
|
||||||
path /= "testnet3";
|
path /= "testnet3";
|
||||||
|
}
|
||||||
|
|
||||||
fs::create_directory(path);
|
fs::create_directory(path);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user