aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-09-04 22:14:36 -0400
committerRiccardo Spagni <ric@spagni.net>2014-09-15 15:53:10 +0200
commitfb4146fa343399229c754331ecc78fe0c759ec7c (patch)
tree18dbbb427c846d83590bcf4f959d759dd81b7e5e /src/p2p/net_node.h
parentAdd testnet constants (diff)
downloadmonero-fb4146fa343399229c754331ecc78fe0c759ec7c.tar.xz
Reorganize testnet constants
Diffstat (limited to '')
-rw-r--r--src/p2p/net_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index bca18c906..3a659dcd8 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -42,12 +42,12 @@
#include <boost/program_options/variables_map.hpp>
#include <boost/serialization/version.hpp>
+#include "cryptonote_config.h"
#include "warnings.h"
#include "net/levin_server_cp2.h"
#include "p2p_protocol_defs.h"
#include "storages/levin_abstract_invoke2.h"
#include "net_peerlist.h"
-#include "p2p_networks.h"
#include "math_helper.h"
#include "net_node_common.h"
#include "common/command_line.h"
@@ -79,7 +79,7 @@ namespace nodetool
public:
typedef t_payload_net_handler payload_net_handler;
// Some code
- node_server(t_payload_net_handler& payload_handler):m_payload_handler(payload_handler), m_allow_local_ip(false), m_hide_my_port(false), m_network_id(MONERO_NETWORK)
+ node_server(t_payload_net_handler& payload_handler):m_payload_handler(payload_handler), m_allow_local_ip(false), m_hide_my_port(false), m_network_id(::config::NETWORK_ID)
{}
static void init_options(boost::program_options::options_description& desc);