Don't query prune blockchain arg boost cast failure

Removing the prune blockchain arg from the command_line and trying to
query it causesd a boost any_cast failuree
This commit is contained in:
Doyle 2019-12-04 16:27:51 +11:00
parent 5bcb45aadc
commit 9eb461f6b7

View file

@ -575,7 +575,7 @@ namespace cryptonote
uint64_t blocks_threads = command_line::get_arg(vm, arg_prep_blocks_threads);
std::string check_updates_string = command_line::get_arg(vm, arg_check_updates);
size_t max_txpool_weight = command_line::get_arg(vm, arg_max_txpool_weight);
bool prune_blockchain = command_line::get_arg(vm, arg_prune_blockchain);
bool const prune_blockchain = false; /* command_line::get_arg(vm, arg_prune_blockchain); */
bool keep_alt_blocks = command_line::get_arg(vm, arg_keep_alt_blocks);
if (m_service_node_keys)