aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-25 19:51:52 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-25 19:51:52 +0200
commitfbfdaae06f0c9660fa889a3edcb21faca753f78d (patch)
treee8e806b2559a579103fc6cc5e59d5b2f6a084e43 /src/wallet
parentMerge pull request #2806 (diff)
parentdaemon & simplewallet: don't set max-concurrency when unspecified (diff)
downloadmonero-fbfdaae06f0c9660fa889a3edcb21faca753f78d.tar.xz
Merge pull request #2807
61712384 daemon & simplewallet: don't set max-concurrency when unspecified (stoffu)
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet_args.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_args.cpp b/src/wallet/wallet_args.cpp
index cc6bb1de2..e665042d4 100644
--- a/src/wallet/wallet_args.cpp
+++ b/src/wallet/wallet_args.cpp
@@ -178,7 +178,7 @@ namespace wallet_args
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
}
- if(command_line::has_arg(vm, arg_max_concurrency))
+ if (!command_line::is_arg_defaulted(vm, arg_max_concurrency))
tools::set_max_concurrency(command_line::get_arg(vm, arg_max_concurrency));
Print(print) << "Monero '" << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL << ")";