Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
coranos committed Mar 2, 2024
1 parent 6d108ae commit 4f330f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nano/core_test/toml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ TEST (toml, base_override)
{
std::stringstream ss_base;
ss_base << R"toml(
node.peering_port=7075
node.peering_port=7071
)toml";

std::stringstream ss_override;
Expand Down Expand Up @@ -377,11 +377,11 @@ TEST (toml, put)
nano::tomlconfig config_node;
// Overwrite value and add to child node
config_node.put ("port", "7074");
config_node.put ("port", "7075");
config_node.put ("port", "7071");
config.put_child ("node", config_node);
uint16_t port;
config.get_required<uint16_t> ("node.port", port);
ASSERT_EQ (port, 7075);
ASSERT_EQ (port, 7071);
ASSERT_FALSE (config.get_error ());
}

Expand Down
2 changes: 1 addition & 1 deletion nano/qt/qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ nano_qt::advanced_actions::advanced_actions (nano_qt::wallet & wallet_a) :
peers_model (new QStandardItemModel),
peers_view (new QTableView),
peer_summary_layout (new QHBoxLayout),
bootstrap_label (new QLabel ("IPV6:port \"::ffff:192.168.0.1:7075\"")),
bootstrap_label (new QLabel ("IPV6:port \"::ffff:192.168.0.1:7071\"")),
peer_count_label (new QLabel ("")),
bootstrap_line (new QLineEdit),
peers_bootstrap (new QPushButton ("Initiate Bootstrap")),
Expand Down

0 comments on commit 4f330f5

Please sign in to comment.