mirror of
https://github.com/monero-project/monero.git
synced 2025-08-05 10:44:19 -04:00
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.
This commit is contained in:
parent
2b67346ded
commit
417b126fc4
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue