aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-02-20 17:48:29 +0200
committerRiccardo Spagni <ric@spagni.net>2018-02-20 17:48:29 +0200
commit299af8e43e9dbf89ded51d8d5f6ee22e5de55500 (patch)
tree53308fd505451a5c1c34f02f8d34bb7fd6389a9f /src/p2p
parentMerge pull request #3289 (diff)
parentp2p: restore m_testnet assignment lost during rebase (diff)
downloadmonero-299af8e43e9dbf89ded51d8d5f6ee22e5de55500.tar.xz
Merge pull request #3290
1d28c0d8 p2p: restore m_testnet assignment lost during rebase (whythat)
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);