mirror of
https://github.com/monero-project/monero.git
synced 2025-12-31 23:16:03 -08:00
Stagenet
This commit is contained in:
@@ -218,7 +218,7 @@ namespace cryptonote
|
||||
command_line::add_arg(desc, arg_bg_mining_miner_target_percentage);
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
bool miner::init(const boost::program_options::variables_map& vm, bool testnet)
|
||||
bool miner::init(const boost::program_options::variables_map& vm, network_type nettype)
|
||||
{
|
||||
if(command_line::has_arg(vm, arg_extra_messages))
|
||||
{
|
||||
@@ -246,7 +246,7 @@ namespace cryptonote
|
||||
if(command_line::has_arg(vm, arg_start_mining))
|
||||
{
|
||||
address_parse_info info;
|
||||
if(!cryptonote::get_account_address_from_str(info, testnet, command_line::get_arg(vm, arg_start_mining)) || info.is_subaddress)
|
||||
if(!cryptonote::get_account_address_from_str(info, nettype, command_line::get_arg(vm, arg_start_mining)) || info.is_subaddress)
|
||||
{
|
||||
LOG_ERROR("Target account address " << command_line::get_arg(vm, arg_start_mining) << " has wrong format, starting daemon canceled");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user