aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorwhythat <whythat@protonmail.com>2018-02-18 17:09:39 +0200
committerwhythat <whythat@protonmail.com>2018-02-18 17:09:39 +0200
commit1d28c0d8a994fee370675c28964fce92c22d49e8 (patch)
tree5b897d5024b10fcc6c04afe4b3273776f8800eda /src/p2p
parentoptions: add testnet option dependencies (diff)
downloadmonero-1d28c0d8a994fee370675c28964fce92c22d49e8.tar.xz
p2p: restore m_testnet assignment lost during rebase
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index c1de21f22..59b417d90 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -262,6 +262,7 @@ namespace nodetool
const boost::program_options::variables_map& vm
)
{
+ m_testnet = command_line::get_arg(vm, cryptonote::arg_testnet_on);
m_bind_ip = command_line::get_arg(vm, arg_p2p_bind_ip);
m_port = command_line::get_arg(vm, arg_p2p_bind_port);
m_external_port = command_line::get_arg(vm, arg_p2p_external_port);