aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2014-12-11 19:37:07 +0000
committerwarptangent <warptangent@inbox.com>2015-01-04 19:39:42 -0800
commit1860658eeca1a311e95ff2b0cf3a3dabe135484a (patch)
treeba0bbacfaef5d88a85b79c5fc1db1313820c250c
parentdb_lmdb: remove block timestamp too when removing a block (diff)
downloadmonero-1860658eeca1a311e95ff2b0cf3a3dabe135484a.tar.xz
blockchain: do not append "testnet" to the data directory
It is already there (unless overridden via command line).
-rw-r--r--src/cryptonote_core/blockchain.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index b5c4f9ca4..87be9d566 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -238,12 +238,6 @@ bool Blockchain::init(const std::string& config_folder, bool testnet)
boost::filesystem::path folder(m_config_folder);
- // append "testnet" directory as needed
- if (testnet)
- {
- folder /= "testnet";
- }
-
LOG_PRINT_L0("Loading blockchain...");
//FIXME: update filename for BlockchainDB