aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-02-16 20:04:04 +0900
committerstoffu <stoffu@protonmail.ch>2018-03-05 11:55:05 +0900
commitaf773211cbc620a1be54f517bd60e587d58a7e93 (patch)
tree40e747cbfc21c7182db27291fb29f9b033de2379 /src/daemon/rpc.h
parentcommand_line: allow args to depend on more than one args (diff)
downloadmonero-af773211cbc620a1be54f517bd60e587d58a7e93.tar.xz
Stagenet
Diffstat (limited to '')
-rw-r--r--src/daemon/rpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h
index 17f6c7f67..9621b0d01 100644
--- a/src/daemon/rpc.h
+++ b/src/daemon/rpc.h
@@ -54,7 +54,7 @@ public:
, t_core & core
, t_p2p & p2p
, const bool restricted
- , const bool testnet
+ , const cryptonote::network_type nettype
, const std::string & port
, const std::string & description
)
@@ -62,7 +62,7 @@ public:
{
MGINFO("Initializing " << m_description << " RPC server...");
- if (!m_server.init(vm, restricted, testnet, port))
+ if (!m_server.init(vm, restricted, nettype, port))
{
throw std::runtime_error("Failed to initialize " + m_description + " RPC server.");
}