From: Pieter Wuille Date: Fri, 13 Apr 2012 01:11:14 +0000 (+0200) Subject: Fix #1086: add /testnet to passed datadir X-Git-Tag: v0.4.0-unstable~129^2~81^2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=7a743148c999436840ab2ab249047f5f34e896b0 Fix #1086: add /testnet to passed datadir --- diff --git a/src/util.cpp b/src/util.cpp index 91f1810..c446474 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -836,9 +836,9 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific) path = mapArgs["-datadir"]; } else { path = GetDefaultDataDir(); - if (fNetSpecific && GetBoolArg("-testnet", false)) - path /= "testnet"; } + if (fNetSpecific && GetBoolArg("-testnet", false)) + path /= "testnet"; fs::create_directory(path);