blockchain: do not append "testnet" to the data directory

It is already there (unless overridden via command line).
This commit is contained in:
moneromooo-monero 2014-12-11 19:37:07 +00:00 committed by warptangent
parent 1c578ad3f8
commit 1860658eec

View file

@ -238,12 +238,6 @@ bool Blockchain::init(const std::string& config_folder, bool testnet)
boost::filesystem::path folder(m_config_folder); boost::filesystem::path folder(m_config_folder);
// append "testnet" directory as needed
if (testnet)
{
folder /= "testnet";
}
LOG_PRINT_L0("Loading blockchain..."); LOG_PRINT_L0("Loading blockchain...");
//FIXME: update filename for BlockchainDB //FIXME: update filename for BlockchainDB