Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #201 from EOSIO/nathan-misc
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
nathanielhourt authored Aug 17, 2017
2 parents 0dec023 + 1c706af commit d5c30e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ void producer_plugin::set_program_options(
boost::program_options::options_description& config_file_options)
{
auto default_priv_key = fc::ecc::private_key::regenerate(fc::sha256::hash(std::string("nathan")));
string producer_id_example = fc::json::to_string("inita");

auto private_key_default = std::make_pair(chain::public_key_type(default_priv_key.get_public_key()),
eos::utilities::key_to_wif(default_priv_key));
Expand All @@ -100,7 +99,7 @@ void producer_plugin::set_program_options(
("enable-stale-production", boost::program_options::bool_switch()->notifier([this](bool e){my->_production_enabled = e;}), "Enable block production, even if the chain is stale.")
("required-participation", boost::program_options::bool_switch()->notifier([this](int e){my->_required_producer_participation = uint32_t(e*config::Percent1);}), "Percent of producers (0-99) that must be participating in order to produce blocks")
("producer-name,p", boost::program_options::value<vector<string>>()->composing()->multitoken(),
("ID of producer controlled by this node (e.g. " + producer_id_example + ", quotes are required, may specify multiple times)").c_str())
("ID of producer controlled by this node (e.g. inita; may specify multiple times)"))
("private-key", boost::program_options::value<vector<string>>()->composing()->multitoken()->default_value({fc::json::to_string(private_key_default)},
fc::json::to_string(private_key_default)),
"Tuple of [PublicKey, WIF private key] (may specify multiple times)")
Expand Down

0 comments on commit d5c30e5

Please sign in to comment.