Skip to content

Commit

Permalink
Merge pull request #2257 from bitshares/abitmore-patch-1
Browse files Browse the repository at this point in the history
Add "Testnet" to some output of witness_node
  • Loading branch information
abitmore authored Sep 15, 2020
2 parents 8126f7a + de4a6e4 commit 63a1387
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libraries/app/config_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static void load_config_file(const fc::path& config_ini_path, const bpo::options
bpo::variables_map& options )
{
graphene::app::detail::deduplicator dedup;
bpo::options_description unique_options("BitShares Witness Node");
bpo::options_description unique_options("BitShares Testnet Witness Node");
for( const boost::shared_ptr<bpo::option_description> opt : cfg_options.options() )
{
const boost::shared_ptr<bpo::option_description> od = dedup.next(opt);
Expand Down
6 changes: 3 additions & 3 deletions programs/witness_node/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ int main(int argc, char** argv) {
app::application* node = new app::application();
fc::oexception unhandled_exception;
try {
bpo::options_description app_options("BitShares Witness Node");
bpo::options_description cfg_options("BitShares Witness Node");
bpo::options_description app_options("BitShares Testnet Witness Node");
bpo::options_description cfg_options("BitShares Testnet Witness Node");
std::string default_plugins = "witness account_history market_history grouped_orders "
"api_helper_indexes custom_operations";
app_options.add_options()
Expand Down Expand Up @@ -184,7 +184,7 @@ int main(int argc, char** argv) {
exit_promise->set_value(signal);
}, SIGTERM);

ilog("Started BitShares node on a chain with ${h} blocks.", ("h", node->chain_database()->head_block_num()));
ilog("Started BitShares Testnet node on a chain with ${h} blocks.", ("h", node->chain_database()->head_block_num()));
ilog("Chain ID is ${id}", ("id", node->chain_database()->get_chain_id()) );

int signal = exit_promise->wait();
Expand Down

0 comments on commit 63a1387

Please sign in to comment.