aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_import.cpp
diff options
context:
space:
mode:
authorwhythat <whythat@protonmail.com>2018-01-21 17:29:55 +0200
committerwhythat <whythat@protonmail.com>2018-02-16 22:32:01 +0200
commit05a12ccc2dc920f4a997e66e6965ae60c1a4c65e (patch)
treea694dfd20154294b7a12b9c0b99863c2049b86b6 /src/blockchain_utilities/blockchain_import.cpp
parentcommon: implement dependent option descriptor (diff)
downloadmonero-05a12ccc2dc920f4a997e66e6965ae60c1a4c65e.tar.xz
options: remove testnet-* options
Diffstat (limited to 'src/blockchain_utilities/blockchain_import.cpp')
-rw-r--r--src/blockchain_utilities/blockchain_import.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/blockchain_utilities/blockchain_import.cpp b/src/blockchain_utilities/blockchain_import.cpp
index ce08022fc..6195e47e7 100644
--- a/src/blockchain_utilities/blockchain_import.cpp
+++ b/src/blockchain_utilities/blockchain_import.cpp
@@ -671,8 +671,7 @@ int main(int argc, char* argv[])
}
opt_testnet = command_line::get_arg(vm, cryptonote::arg_testnet_on);
- auto data_dir_arg = opt_testnet ? cryptonote::arg_testnet_data_dir : cryptonote::arg_data_dir;
- m_config_folder = command_line::get_arg(vm, data_dir_arg);
+ m_config_folder = command_line::get_arg(vm, cryptonote::arg_data_dir);
db_arg_str = command_line::get_arg(vm, arg_database);
mlog_configure(mlog_get_default_log_path("monero-blockchain-import.log"), true);