diff options
author | stoffu <stoffu@protonmail.ch> | 2018-03-22 14:46:49 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-03-22 14:56:35 +0900 |
commit | 5f6647934bdfba8184b529113e58d4052a2d0b1a (patch) | |
tree | f63dbe54c1ce89e1a145305c74260d83f526f091 /src/p2p/net_node.inl | |
parent | README: add instructions for cloning / submodules (diff) | |
download | monero-5f6647934bdfba8184b529113e58d4052a2d0b1a.tar.xz |
p2p: correct port number for seed nodes
Diffstat (limited to '')
-rw-r--r-- | src/p2p/net_node.inl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 54875e619..3b0d1c394 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -397,8 +397,8 @@ namespace nodetool full_addrs.insert("163.172.182.165:18080"); full_addrs.insert("161.67.132.39:18080"); full_addrs.insert("198.74.231.92:18080"); - full_addrs.insert("195.154.123.123:28080"); - full_addrs.insert("212.83.172.165:28080"); + full_addrs.insert("195.154.123.123:18080"); + full_addrs.insert("212.83.172.165:18080"); } return full_addrs; } @@ -490,7 +490,7 @@ namespace nodetool if (result.size()) { for (const auto& addr_string : result) - full_addrs.insert(addr_string + ":18080"); + full_addrs.insert(addr_string + ":" + std::to_string(m_nettype == cryptonote::TESTNET ? ::config::testnet::P2P_DEFAULT_PORT : m_nettype == cryptonote::STAGENET ? ::config::stagenet::P2P_DEFAULT_PORT : ::config::P2P_DEFAULT_PORT)); } ++i; } |