aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-21 15:06:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-21 15:06:07 +0000
commit417b126fc420b7bac9a385f9576a5b80e840ee67 (patch)
tree2be65465f3abfa317a140b773344a5475c9568cf /src/daemon
parentMerge pull request #1703 (diff)
downloadmonero-417b126fc420b7bac9a385f9576a5b80e840ee67.tar.xz
Fix core_tests breaking on startup
You're wondering how this fixes core tests, aren't you... It prevents the miner (initialized by cryptonote::core) from breaking trying to access arguments that were not added. Since the tests don't use the miner directly, it makes more sense to have cryptonote_core add those, since it also uses the miner.
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/daemon/core.h b/src/daemon/core.h
index 23f7a9f63..b23423fdf 100644
--- a/src/daemon/core.h
+++ b/src/daemon/core.h
@@ -45,7 +45,6 @@ public:
static void init_options(boost::program_options::options_description & option_spec)
{
cryptonote::core::init_options(option_spec);
- cryptonote::miner::init_options(option_spec);
}
private:
typedef cryptonote::t_cryptonote_protocol_handler<cryptonote::core> t_protocol_raw;